blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3bd31872f504541d755c2325f9d8cb39f17f627d | 29585dff702209dd446c0ab52ceea046c58e384e | /BatchExperiments/R/getExperimentParts.R | 8fd4f9f332ac22f4b407cd518924375b2341f6e6 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 788 | r | getExperimentParts.R | #' @title Get all parts required to run a single job.
#'
#' @param reg [\code{\link{ExperimentRegistry}}]\cr
#' Registry.
#' @param id [\code{integer(1)}]\cr
#' Id of a job.
#' @return [named list]. Returns the \link{Job}, \link{Problem}, \link{Instance} and \link{Algorithm}.
#' @family get
#' @export
getExperiment... |
4385cf0c2cd74a651a089de74cbefe18b2ff1b52 | 8bfeb902acc4577317c621cbb837de1919364c0c | /man/AOCF.Rd | 00ae45bc63e41d3dec6272002b8b9239337dba15 | [] | no_license | melren/effiplot | 65e1a8bf6c04712afa4f027ca70deea24ca2924e | e1208fa929c7cfe789178b66cc5c12296f6add08 | refs/heads/master | 2020-04-01T19:05:41.612326 | 2018-11-14T23:06:43 | 2018-11-14T23:06:43 | 153,533,582 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 642 | rd | AOCF.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{AOCF}
\alias{AOCF}
\title{Average Observation Carried Forward}
\usage{
AOCF(x)
}
\arguments{
\item{x}{data series/vector with missing values to fill (vector)}
}
\value{
returns the same data series with missing values filled in ... |
d72f1dc039aca4fd257a7bffd6ae2e106ee6efd1 | 376c7deac1b0a2a81aa876238c11683399b0e352 | /man/plotPurity.Rd | bd7c7c0367a5121db23a4993fcf5b00153611cd8 | [] | no_license | svkucheryavski/supure | dd127b0f4108b60fe0be6395117cd4e81ce07816 | 703e54c7bba4b74f0d4a04645641c8973abc6365 | refs/heads/master | 2021-01-10T03:13:52.248797 | 2015-09-23T08:12:00 | 2015-09-23T08:12:00 | 42,987,569 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 891 | rd | plotPurity.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/plots.R
\name{plotPurity}
\alias{plotPurity}
\title{Purity spectra plot}
\usage{
plotPurity(obj, ncomp = 1, origspec = NULL, col = c("#62B7EF", "#D84E5E",
"#F0F0F0"), lty = 1, lwd = 1, xlab = "Wavenumbers",
ylab = c("Weighted std"... |
25a226b6c1bcad101c37e6cdd8a2dbfa0ddf268c | d6e11b703be86c2964ede85d928e0c8986361558 | /MCA.R | 97fee3eb9ae38d5daa582f1f67b2aa7e12071ed1 | [] | no_license | polserra95/BankMarketing_ML | e736d06e11aa36c04833e7e90ba45a33a0c07aea | 7437985638e0171da4d5d19f84d8352afde49218 | refs/heads/master | 2020-03-21T16:17:49.320223 | 2018-06-26T16:07:55 | 2018-06-26T16:07:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,699 | r | MCA.R | ##Load workspace and some libraries
setwd("C:/Users/Pol/Desktop/MVA_Project")
require("dplyr") # Data manipulation
require("reshape2") # Data reshaping for ggplot
require("ggplot2") # Data visualization
require("RColorBrewer") # Colors on plots
require("readr") # CSV file I/O, e.g. the re... |
b60b0f457e1012b4609291153c0641ddc0d56d16 | 81a96b248fe00c49b348b3b31513e48a14212ca7 | /plot2.R | a66b001d9d98377cce42be72ce5eb9b8b9713047 | [] | no_license | nisamvp/ExData_Plotting1 | 5f31a533d708734d2603d302a79f0eb190c2318b | d0d08eddd1c4807c231465021a8c145f29794b6a | refs/heads/master | 2020-12-25T08:41:53.335671 | 2016-06-04T19:44:13 | 2016-06-04T19:44:13 | 60,402,321 | 0 | 0 | null | 2016-06-04T09:09:48 | 2016-06-04T09:09:48 | null | UTF-8 | R | false | false | 635 | r | plot2.R | #R code to produce plot2.png
plotData<-read.table("household_power_consumption.txt",header=TRUE,sep = ";")
plotData$Date<-as.Date(plotData$Date,"%d/%m/%Y")
subplotData<-subset(plotData,Date >="2007-02-01"& Date <="2007-02-02")
subplotData$Global_active_power <-as.numeric(as.character(subplotData$Global_active_power... |
df2c9104d1312cf2ccebc4c6ae4f17d6d874ff39 | 41762d55e0600512241940c77b33239970c41557 | /1. MSY proxy reference points.R | e23e25c74420536db0df0cc47b7bcb3193282292 | [] | no_license | JuanMatiasBraccini/Git_reference.points | cf8365b16294307e56ae5d754c2aba965e474cd4 | d295633004b5492ba1cc9e31fde2be0f6c9dcda8 | refs/heads/master | 2021-06-16T13:51:03.284644 | 2021-04-28T05:37:41 | 2021-04-28T05:37:41 | 191,690,517 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 102,584 | r | 1. MSY proxy reference points.R | ###########################MSY PROXY REFERENCE POINTS###########################
#notes: This script implements different MSY proxy reference points
# FIRST: the Spawning Potential Ratio reference points derived in Brooks
# et al (2010) for assessment of data poor fisheries using a biological reference poi... |
90009afed4557a686555266387f2d2794898c639 | d8b9a31582ece8819768a738d091e0e3d7f3b93d | /R/printf.R | 776120848b4164228af98bcf88cb1e25ee25507b | [
"MIT"
] | permissive | PriceLab/tfBindingSites | c44bcef9d4cac90bc4b1f20f3541aab3aa7cee53 | 9df2839311f4a76889ddd913918b66bbe3e56a54 | refs/heads/master | 2020-03-28T18:54:42.487163 | 2018-09-16T21:54:24 | 2018-09-16T21:54:24 | 148,926,020 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 55 | r | printf.R | printf <-
function (...)
print(noquote(sprintf(...)))
|
281490c8fba4238b60337c21798db5104c514738 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/kzfs/examples/kzrc2.Rd.R | 0548a3d50eaaf0c1127e0da5a80d19c0578b8488 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,519 | r | kzrc2.Rd.R | library(kzfs)
### Name: kzrc2
### Title: Reconstruct 2D Wave Signals For Given Directions with KZFT
### Aliases: kzrc2 kz.rc2
### Keywords: KZFT reconstruction
### ** Examples
dx <- 100 # The x and y scale of the wave field
dy <- 100 # Enlarge them to 300 to get better result.
b <- expand.grid(x=1:dx, y=dy:1)
... |
81f8745d5caf4568d46f05fd16b344db18e1c6b7 | 7bb3f64824627ef179d5f341266a664fd0b69011 | /Business_Statistics_:_A_First_Course_by_David_M._Levine,_Kathryn_A._Szabat,_David_F._Stephan,_P._K._Vishwanathan/CH8/EX8.4/Ex8_4.R | 7e819dc334df9dc59d78fc085772c9b32e577060 | [
"MIT"
] | permissive | prashantsinalkar/R_TBC_Uploads | 8bd0f71834814b1d03df07ce90b2eae3b7d357f8 | b3f3a8ecd454359a2e992161844f2fb599f8238a | refs/heads/master | 2020-08-05T23:06:09.749051 | 2019-10-04T06:54:07 | 2019-10-04T06:54:07 | 212,746,586 | 0 | 0 | MIT | 2019-10-04T06:03:49 | 2019-10-04T06:03:48 | null | UTF-8 | R | false | false | 379 | r | Ex8_4.R | #confidence Interval Estimate for the Population proportion
# p +- z*sqrt((p*p-1)/n)
X<- 35 #No. of Character having the characteristic
n<- 200 #sample size
z <-1.645 #critical value fromthe standardized normal distribution
p <- X / n #sample proportion
p
Pop_prop_upper<- p + z*sqrt((p*(1-p))/n)
Pop_prop_upper
... |
c8bd1d711b9d681f91e2729fe99fa2acef7e6ee2 | 7b842e47b36c5eccaee6b71c77e22519b49c0168 | /man/bufferPoint.Rd | c63b7ddf7edd049389cc07cdbcdb3deda4247fdd | [] | no_license | cran/geoknife | 5dc92ca0aa7e7afe2afac3fd848e3b7fc99c07c4 | e6dba004a958f5954317cfcd7faaec1d8d094ae9 | refs/heads/master | 2023-07-20T09:34:10.506446 | 2023-07-06T07:00:12 | 2023-07-06T07:00:12 | 48,080,629 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 723 | rd | bufferPoint.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/util-bufferPoint.R
\name{bufferPoint}
\alias{bufferPoint}
\title{Create linear ring from point}
\usage{
bufferPoint(point)
}
\arguments{
\item{point}{A vector of longitude and latitude values}
}
\value{
A linear ring (with closure... |
c546b8de4a2c18d1587819cbe6eabeb6f48183d8 | ba46cd68bfcf8b0375cbea758e052fe1077dbd18 | /genotype_qc.R | 3312cb3dbbb47ef277cbfc5d19f58d46964445da | [] | no_license | nuada/easd_nh | 9e207fe8c3d02eb45f4258718b29956a90590178 | f432a1039703f7a5709a0d37405cfbdc1f8181f7 | refs/heads/master | 2021-01-10T05:44:39.174206 | 2016-04-07T10:31:16 | 2016-04-07T10:31:16 | 54,579,357 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,523 | r | genotype_qc.R | #' Configuration
library(RcppEigen)
library(printr)
library(plyr)
library(ggplot2)
library(plink2R) # install_github("gabraham/plink2R", subdir = 'plink2R')
data_dir <- '/data'
phenotype_dir <- paste(data_dir, 'phenotype', sep='/')
genotype_dir <- paste(data_dir, 'genotype', sep='/')
raw_genotypes <- paste(data_dir, '... |
ceca37f9e3a417431214a580abac88a8aa961f9e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/DAAG/examples/powerplot.Rd.R | 82d3be4e3379b625599086d35de8b09b063550e3 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 525 | r | powerplot.Rd.R | library(DAAG)
### Name: powerplot
### Title: Plot of Power Functions
### Aliases: powerplot
### Keywords: models
### ** Examples
oldpar <- par(mfrow = c(2, 3), mar = par()$mar - c(
1, 1, 1.0, 1), mgp = c(1.5, 0.5, 0), oma=c(0,1,0,1))
# on.exit(par(oldpar))
powerplot(expr="sqrt(x)", xlab="")
... |
a20003a741f6cccf76bfcf83b1eb6c82d8b5dbba | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.media.services/man/mediaconnect_add_flow_vpc_interfaces.Rd | 1972a2b9f6e8c00e4119f7546aaa633fff86c71e | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 1,118 | rd | mediaconnect_add_flow_vpc_interfaces.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mediaconnect_operations.R
\name{mediaconnect_add_flow_vpc_interfaces}
\alias{mediaconnect_add_flow_vpc_interfaces}
\title{Adds VPC interfaces to flow}
\usage{
mediaconnect_add_flow_vpc_interfaces(FlowArn, VpcInterfaces)
}
\arguments{
\item{Fl... |
bd8a4606adf86eefe4d71e429dd02615d57ec4eb | 0a906cf8b1b7da2aea87de958e3662870df49727 | /diffrprojects/inst/testfiles/dist_mat_absolute/libFuzzer_dist_mat_absolute/dist_mat_absolute_valgrind_files/1609963218-test.R | 72dcdb09b6d9bef720d00de7b3eb93b1f46306c0 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 320 | r | 1609963218-test.R | testlist <- list(x = c(-42L, -1L, -2745758L, 1869573160L, 711158895L, 1936021353L, 1850564976L, 1449747831L, 690508613L, 1481646179L, 1869509492L, 691004672L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L), y = integer(0))
result <- do.call(diffrprojects:::dist_mat_absolute,testlist)
str(result) |
6e8dd12744652a479ed479d842942b5b2bfcd1a3 | 7ee443860d07d81a6b0e275f393797d65710461a | /man/h_GenROT.Rd | 22a26cf090ff7fef799696dd8673e09a9178c535 | [] | no_license | cran/locpolExpectile | 72a27664bd2345d758a897392044328caf7cc5a2 | fbf7c76f915014bbb90ce2342db1c8a666bbaf88 | refs/heads/master | 2023-07-01T08:59:57.908278 | 2021-08-03T08:50:05 | 2021-08-03T08:50:05 | 392,367,208 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,918 | rd | h_GenROT.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/h_GenROT.R
\name{h_GenROT}
\alias{h_GenROT}
\alias{compDerEst_exp}
\title{Rule-of-Thumb bandwidth selectors}
\usage{
h_GenROT(X, Y, j = 0, p = 1, kernel = gaussK, omega)
compDerEst_exp(X, Y, p, omega)
}
\arguments{
\item{X}{The c... |
9977e2ea12a8310d4cd0bf2d59329c84558c9522 | 7f02263a680124a9b6fed6e709013034be0dc2e8 | /SciDataEpi2020/functions/plot_volcano_v2.r | 7129bb339b2bed7b9cf21ac55fdfa1f989f50a0b | [] | no_license | Hindrance/EpiSciData2020 | a8fa07e67a240a81d76391b614175593369e2810 | b271bb99bd793992fea7f41fe46ef1a981e33e61 | refs/heads/master | 2022-11-10T14:53:32.093301 | 2020-06-23T11:21:55 | 2020-06-23T11:21:55 | 266,233,813 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,035 | r | plot_volcano_v2.r | # PLOT VOLCANO # by Vincent
require(RColorBrewer)
# This function takes a data frame with three columns and plots a volcano plot!
# Submit data in the form of:
# Column 1: data label text
# Column 2: Log fold changes
# Column 3: p values
# Column 4: base means
# OR submit a DESeq results file and specify the argumen... |
bcbea9f922957c8b0cf0380eb723d5dcbf8713f8 | 4b1f08bf4923f93562ad98c020123d43e2c93746 | /R/mal.phi.R | 3b47ee6bcadc25637bda0a9ba3edb2c99b5dfb6d | [] | no_license | cran/Biodem | 5f187736005c885301cc1bafc8c79544320e537a | f98922e7dce81df5ffdd79f403cbfd3ee32bca7f | refs/heads/master | 2021-06-01T13:27:02.409287 | 2021-01-05T14:50:09 | 2021-01-05T14:50:09 | 17,678,116 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 637 | r | mal.phi.R | mal.phi <- function(S,P,N,n){
if (n < 1){
return("Number of cycles too low!!!")
}
phi<-diag(0/N) ## creating the first phi matrix
Pt<-t(P)
x<-0 ## needed for a correct counting cycle
for (i in 1:n){
x<-x+1 ## start the counting cycle
S1<-mtx.exp(S,x) ## powering S
P1<-mtx.exp(P,x) ## powerin... |
c3b0bee68cc18a366a60291021f383f36b5ad39e | f9e41ee88d03b59bed2487201f95e36d2566cf82 | /cachematrix.R | 897813ee60b5d30d6d82f831c5abf2e9d3c7c056 | [] | no_license | lrahm/ProgrammingAssignment2 | 3cd9f8ce0b32f97084afd74e6fbdb9e4b6459501 | 188d8bb71be93b161e2a87b3d0f86a727559ac33 | refs/heads/master | 2021-01-17T05:37:11.469757 | 2014-06-17T17:38:16 | 2014-06-17T17:38:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 957 | r | cachematrix.R | ## makeCacheMatrix and cacheSolve work together to store the inverse of the matrix in
## an other environment so that it does not have to be recalculated every time its used.
## makeCacheMatrix creates a special "matrix" to 'set', 'get', 'setinverse', and 'getinverse'
makeCacheMatrix <- function(x = matrix()) {
... |
8bf3a819f5c04202d2ff2ee01ecdada9abd85971 | f1183482e47167a9020046c061a53b88179193ec | /scripts/dai_lm/plot_coefficients.R | 1d07fad489a8de71077e80dc5229ccb0e948ad28 | [
"MIT"
] | permissive | morrislab/plos-medicine-joint-patterns | a7a4ff4ce5f16d673fe2af48429ebe43b5132458 | cfdc6dd4854ec33e7e2efbf36d648b65d278df33 | refs/heads/master | 2020-04-17T09:33:09.077084 | 2019-01-18T19:33:32 | 2019-01-18T19:33:32 | 166,462,950 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,445 | r | plot_coefficients.R | # Plots significant coefficients from linear regression.
library(argparse)
library(data.table)
library(grid)
library(ggplot2)
rm(list = ls())
# Get arguments.
parser <- ArgumentParser()
parser$add_argument('--input', required = TRUE)
parser$add_argument('--output', required = TRUE)
parser$add_argument('--fi... |
3171470f23ade3833b7e021f1d3185957ad9f2e4 | 9c712aff1298a97802edafce4f582ef6f2c61a4a | /Fuzzy matching function.R | c7fd00984006bfcc720d2e944a7556756b2a6776 | [] | no_license | DanielGardiner/Fuzzy-matching-function | 20f31fe0be650945f8705c54a43cbffe3a9b5217 | 33f19962b2cdd0496a1b48a7a3b84ff263a531e6 | refs/heads/master | 2021-01-23T10:10:27.450332 | 2017-06-01T10:27:41 | 2017-06-01T10:27:41 | 93,045,509 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,005 | r | Fuzzy matching function.R |
fuzzy.match = function(data, id.col, parameter.df, n.results){
# Author: Daniel Gardiner
# email: daniel.gardiner@phe.gov.uk
###############################################################################
# Functions needed for analysis
# Perform Fuzzy matching ... |
c3d77f4f28af155b898bced05eaa278cc299c72d | b059a52cd2c7573ccd216b23a77b2acb49ee267c | /quaterly_reviews/FY20Q4_StrongRecovery.R | 58bdc941b17fc1b77766e935e0aa41c64d929c59 | [] | no_license | gsarfaty/SA-Scripts | f6b977282b709065ac9ec4f9492e4c9555d42eed | 022505bbcd2f3ce41325ea4fb1b2c06285accbcb | refs/heads/main | 2023-03-06T23:21:00.973088 | 2021-02-21T16:20:24 | 2021-02-21T16:20:24 | 323,477,541 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,372 | r | FY20Q4_StrongRecovery.R | library(extrafont)
library(tidyverse)
library(ICPIutilities)
library(here)
library(glitr)
library(scales)
library(patchwork)
library(formattable)
library(gt)
library(glamr)
# MER
df<-read_msd(here("Processed_Files/MSD_genie", "msd_fy17to20_2020-11-17_attributes.txt"))
# Data - proxy linkage by metro ---------------... |
69a8a34eb5b167235f2ef5a05c3c313d3b900e04 | a1355acdd7419f9d0a844cf2524d68b9af0af193 | /复杂点的图/子弹图.R | 850379058860004c516bd8b3187920b9fd67b67a | [] | no_license | ShydowLi/data-view--with-R | d9ededa91f167e5abb70234a8e6b53273db5cb66 | 41148b22b57eb376a1c19179c55d08f4bafa7d01 | refs/heads/master | 2020-04-09T01:26:11.890871 | 2018-12-01T03:13:41 | 2018-12-01T03:13:41 | 159,904,146 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 885 | r | 子弹图.R | #子弹图(绩效与目标关系)
library(ggplot2)
library(reshape2)
library(ggmap)
library(dplyr)
library(tidyr)
KPI<-c("KPI1","KPI2","KPI3","KPI4","KPI5")
INDEX<-1:5
good<-rep(0.2,5)
excellent<-good
pass<-rep(0.6,5)
target<-c(0.84,0.85,0.7,0.92,0.78)
fact<-c(0.91,0.8,0.68,0.91,0.8)
mydata<-data.frame(KPI,INDEX,excellent,good,pass,targe... |
abfe62d054d482254daac2ba3db87bf1163d2ba3 | 1579b8ae1811c912c4cb698a29ba149014819bff | /10_extreme_year_analyses.R | 8ef98c7694bcf72017c6c7ff9cdb4f601ea84ef8 | [] | no_license | alexanderm10/multiple_limiting_factors_ch2 | 10b0dde79927a1e5a520a384d8c5a626b5603002 | 3e1a748869d509eef552e189b4e18d9e751b4587 | refs/heads/master | 2021-01-17T06:49:40.662734 | 2017-01-10T18:33:35 | 2017-01-10T18:33:35 | 53,061,297 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,347 | r | 10_extreme_year_analyses.R | library(ggplot2)
require(mgcv)
require(lsmeans)
require(car)
require(moments)
# Running ANOVA between Extreme years and normal years BAI for Canopy.Class
load("processed_data/gam2_weights_processed.Rdata")
summary(gam2.weights)
# Running ANOVA's to determine differences between ambient years and extreme years
# Using ... |
9778b917d00e2ebab8b83e3e32fabe38b09e6abd | 8315a8d8e3a026fa88a9a2554b7a8353eb485f79 | /Lab3-Parte2/regressaologistica.R | 699ca6617c53ecdec415259c036425f8ffa2832f | [] | no_license | brunabarbosa/AD2 | 8432e57d645c13ae9193a983ce8b08f98f23e615 | d48c5a58fbb09be94947b0def2dd2abb0d7932e5 | refs/heads/master | 2020-06-17T20:10:01.064567 | 2017-03-30T03:01:46 | 2017-03-30T03:01:46 | 74,972,998 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,547 | r | regressaologistica.R | library(ISLR)
library(readr)
library(caret)
library(dplyr)
library(reshape2)
library(pROC)
setwd("~/AD2/Lab3-Parte2")
treino_classificacao_v2 <- read_csv("treino_classificacao_v2.csv")
##reshape table
classificacao.clean <- treino_classificacao_v2 %>%
filter(!is.na(MAT_MEDIA_FINAL))
classificacao.clean$CREDITOS <-... |
89947255dfc65c9222360897d1fd2172898476bc | 6ce9e9dad626bf0f92ad2295d75f46923e7041e9 | /R/optimize_function.R | 4226db4d6061abcf4cf76fc28a121b7f9874af29 | [] | no_license | smdrozdov/saddle_free_newton | da6af09e3ddbfcdaa649078a0d29fd8fe2da1318 | 4513ada03dd9e74dbfa772890d193bf16b644efa | refs/heads/master | 2020-04-13T15:37:04.764281 | 2019-02-14T19:49:13 | 2019-02-14T19:49:13 | 163,297,255 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,893 | r | optimize_function.R | # Implementation of Ganguli-Bengio method of non-convex function optimzation.
# Link to article: https://arxiv.org/abs/1406.2572
# Optimization methods available: GD - Gradient Descent. Here mostly for comparison.
# SFN - Saddle-free Newton. Escapes saddle points, takes O(d^3),
# ... |
01ed6451416db0224afc77c1d970edbc0b93c464 | 8cccb9e03969141f6618c2137ded8318ee3f6082 | /PenFin_pensionSimInputs.R | 4f7a9292b97809f3764e25a2da746af4a8a4c03d | [] | no_license | yaning19/PenSimMacro_Data | 54a300398e62707756ee4786f33edf4595faf9c9 | f2043b338d5f71f932af7ffadbf6589d4f23d577 | refs/heads/master | 2022-04-03T05:02:38.089695 | 2020-02-10T14:19:40 | 2020-02-10T14:19:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,442 | r | PenFin_pensionSimInputs.R | # This script is for modeling tax revenue of stylized governments
#**********************************************************************
# Packages ####
#**********************************************************************
library(tidyverse)
library(broom)
l... |
8830380c9ae1cf730446c29a7610ddec9ea65481 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/Rfast/man/colShuffle.Rd | fcff0ea0c7a8deb7690086c1345fd1964cb768b4 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,013 | rd | colShuffle.Rd | \name{Column and row-wise Shuffle}
\alias{colShuffle}
\alias{rowShuffle}
\title{
Column and row-wise Shuffle
}
\description{
Column and row-wise shuffle of a matrix.
}
\usage{
colShuffle(x)
rowShuffle(x)
}
\arguments{
\item{x}{
A matrix with the data.
}
}
\details{
The functions is written in... |
f61384d08e5091c9f71f63ccb7f007749c54630e | c04ba0c23c254f71ad9a9d48e2ee5528c75c3dd4 | /R/EM_noDE.R | 27db50d14a49b6de1d42a892c956196ae0f736f4 | [] | no_license | cz-ye/DECENT | 121cb865635965ccee27efc21cd15e87925eb12b | 2abd887ad749897ecf3500676ac7cc6a3b2a04d1 | refs/heads/master | 2023-01-04T00:40:50.476513 | 2023-01-03T00:33:26 | 2023-01-03T00:33:26 | 112,068,191 | 14 | 4 | null | 2023-01-03T00:33:27 | 2017-11-26T08:45:11 | R | UTF-8 | R | false | false | 15,396 | r | EM_noDE.R | #' Fitting the unrestricted model with EM algorithm
#'
#' Fit the DECENT model assuming no differentially-expressed (DE) genes
#'
#' @param data.obs Observed count matrix for endogeneous genes, rows represent genes, columns represent cells.
#' @param spike Observed count matrix for spike-ins, rows represent spike-ins, ... |
efbefb3b51835e14dcb7552f77452e33a4e06cad | bc7cb0d6281727d4283b8635143cec8e1c864287 | /R/enr.R | 879c7198f3503db6e35fb305705084af70d1d24b | [] | no_license | josue-rodriguez/GGMnonreg | e8cfb3e1db1c96c226e91705642227cf4a3ee7eb | 33ecd010df57525411261a08005a4d2f946327d3 | refs/heads/master | 2021-01-02T00:30:37.231210 | 2020-01-27T20:45:52 | 2020-01-27T20:45:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,243 | r | enr.R | #' Expected Network Replicability
#'
#' @param net true network
#' @param n samples size
#' @param replications number of networks
#' @param type pearson or spearman
#'
#' @return
#' @export
#'
#' @examples
#' # correlations
#' cors <- cor(GGMnonreg::ptsd)
#'
#' # inverse
#' inv <- solve(cors)
#'
#' # partials
#' pcors... |
d85efece125b4f638de91199b0000e280e9760f7 | 2f59a3fae7e935fe8106efa13d89cd04fdbaf4fc | /ggplot2-2-variables-to-visuals.R | 071474762e4cffe1bd1a744d8270a90f888b6866 | [] | no_license | jyuill/proj-datacamp-ggplot2 | e88505ef8522a599149fa013e303f7a61f5ae4de | 731827676d75edb25651dbe0ce4a88d1ab88e69e | refs/heads/master | 2020-12-03T03:31:21.273574 | 2018-01-14T23:33:47 | 2018-01-14T23:33:47 | 58,614,209 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 427 | r | ggplot2-2-variables-to-visuals.R | str(iris)
head(iris)
library(tidyr)
iris.tidy <- iris %>%
gather(key, Value, -Species ) %>%
separate(key, c("Part","Measure"),"\\.")
library(ggplot2)
ggplot(iris.tidy, aes(x = Species, y = Value, col = Part)) +
geom_jitter() +
facet_grid(. ~ Measure)
iris$Flower <- 1:nrow(iris)
iris.wide <- iris %>%
gathe... |
15a18a3dd7d81e3ae6982343e4dbfd6f6a7dca72 | 66a2afd9c0dab1d55e6d236f3d85bc1b61a11a66 | /R/utils-xml.R | 08b9d9b9901c7c40bd7093a265a3a7fc27d9af29 | [
"MIT"
] | permissive | StevenMMortimer/salesforcer | 833b09465925fb3f1be8da3179e648d4009c69a9 | a1e1e9cd0aa4e4fe99c7acd3fcde566076dac732 | refs/heads/main | 2023-07-23T16:39:15.632082 | 2022-03-02T15:52:59 | 2022-03-02T15:52:59 | 94,126,513 | 91 | 19 | NOASSERTION | 2023-07-14T05:19:53 | 2017-06-12T18:14:00 | R | UTF-8 | R | false | false | 17,346 | r | utils-xml.R | #' xmlToList2
#'
#' This function is an early and simple approach to converting an
#' XML node or document into a more typical R list containing the data values.
#' It differs from xmlToList by not including attributes at all in the output.
#'
#' @importFrom XML xmlApply xmlSApply xmlValue xmlAttrs xmlParse xmlSize... |
e81c799b36ba8d9002de82c2617d5c1523934bd4 | ed20192f1e34c6f1fcead837c69373e79cb65d7f | /R/sem.R | c05da66da84a1dd6e131b11f3b42ba341ca2f09f | [] | no_license | TimKDJ/jaspSem | a836069b23c50f7ce9f960cd04b0043be141d9d5 | 4f18040959c7cbe369dbf74536631d60481c16ce | refs/heads/master | 2023-05-02T05:36:48.366958 | 2021-05-19T12:07:06 | 2021-05-19T12:10:31 | 287,003,140 | 0 | 0 | null | 2020-08-12T12:04:04 | 2020-08-12T12:04:03 | null | UTF-8 | R | false | false | 66,029 | r | sem.R | #
# Copyright (C) 2013-2020 University of Amsterdam
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program i... |
38329f5f76883b1d9027d0954bd575d1eb319138 | 620e89c282f4379c694b40a75faeee8bef7a7913 | /man/isotree.subset.trees.Rd | 22f2a7e0567e6ae012eaad070a36c1765772a31c | [
"BSD-2-Clause"
] | permissive | david-cortes/isotree | 7f33092398389dd71bc58ba1406c69ea22475bad | edbdd569b36e2942b006c8f710d6dcc0f0ca3033 | refs/heads/master | 2023-08-07T16:11:38.305331 | 2023-07-28T20:16:28 | 2023-07-28T20:16:28 | 217,133,055 | 157 | 39 | BSD-2-Clause | 2022-07-27T18:16:07 | 2019-10-23T19:04:02 | C++ | UTF-8 | R | false | true | 717 | rd | isotree.subset.trees.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/isoforest.R
\name{isotree.subset.trees}
\alias{isotree.subset.trees}
\title{Subset trees of a given model}
\usage{
isotree.subset.trees(model, trees_take)
}
\arguments{
\item{model}{An `isolation_forest` model object.}
\item{trees_take}{Indi... |
95d858ead6368062075b6ad74d1dd59711f8417b | 80a0d8483a6df9635012d4ceb1683207a6e77921 | /man/DiDiSTATIS_Summary_Stats_Table.Rd | d483519930b42e0d8ab129f729236b684656a5f3 | [] | no_license | michaelkriegsman/DiDiSTATIS | e11f9d21fa9ff18cf6b5daea7460e1830792f077 | c2a6e6f84af7dd9718992d3c02b0b646b1f3e90e | refs/heads/master | 2021-07-13T02:50:23.138682 | 2020-05-13T20:32:34 | 2020-05-13T20:32:34 | 130,097,579 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 479 | rd | DiDiSTATIS_Summary_Stats_Table.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/DiDiSTATIS_Summary_Stats_Table.R
\name{DiDiSTATIS_Summary_Stats_Table}
\alias{DiDiSTATIS_Summary_Stats_Table}
\title{Print a table of summary stats}
\usage{
DiDiSTATIS_Summary_Stats_Table(res_DiDiSTATIS, main = NULL)
}
\arguments{
\item{res_D... |
a5dc393edb80005611840ce3897b23d19f6f0dbb | 58accfda666d580c22762e9df34e7524a0771b6a | /ASLO/figure_making/making_new_plots.R | b377ed5ddb21f283fc8de874d62b2cbb1afa1a06 | [] | no_license | mmh1133/CMOP | 39135cb534b4092550a3b963b6badef6d2fd56f7 | f2e3d679ec7e8c4e27b34a9ece6a405d4ac20cef | refs/heads/master | 2020-04-16T02:17:26.090747 | 2017-04-20T22:16:22 | 2017-04-20T22:16:22 | 23,399,631 | 0 | 1 | null | 2014-11-14T00:32:30 | 2014-08-27T17:53:24 | R | UTF-8 | R | false | false | 9,951 | r | making_new_plots.R | library(popcycle)
set.evt.location("/Volumes/seaflow/CMOP_6")
set.project.location("~/CMOP_2013_f2")
set.cruise.id("CMOP_6")
cruise <-"CMOP_6"
library(rgl)
library(ggplot2)
library(zoo)
library(plotrix)
###############################################################
#### all the setup for plotting everything you ever... |
736f04266a3a25ee8ecc570299db328c0b6b204d | c98196475185bc4a99d92bd7fc25042ce9394661 | /R/rstar_figure.R | 0458ed56c154535a6a834954c264ae942d785def | [] | no_license | traitecoevo/competition_kernels | b69e86e836daed00614b84ae1ec4daf82c8e6fad | c6370be27df27735c139eccac02404b6aa72966f | refs/heads/master | 2023-03-27T10:26:42.490901 | 2021-03-25T18:34:55 | 2021-03-25T18:37:53 | 17,126,686 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,650 | r | rstar_figure.R | ## NOTE: If changing parameters, be sure to update (manually) the
## values in appendix sec:Rstar.
dat_rstar <- function() {
x1 <- c(0.6, 0.5)
x2 <- c(0.7, 0.9)
C1 <- c(.2, .2) * 10
C2 <- c(.3, .7)
x1b <- c(0.6, 0.5)
x2b <- c(0.9, 0.7)
p1 <- rstar_parameters(rstar_mat_2_tradeoff, matrix(C1, nrow=2), S=0.5... |
ea2ed1d3750692f9e8bdf0ff92760a312a7f30ac | ff95b3fadf3c9525be307c8ea8982e41d38a7dce | /plot2.R | 6733015972f1b0754be7d299fbb7dd7a8dd895ee | [] | no_license | Tyler-Axdorff/ExData_Plotting1 | 8cea9ebcf3402ecd86ec81b34459ba908934eb62 | 3eded60e1c0780461d5ca25119ce10433094c551 | refs/heads/master | 2021-01-15T09:18:31.290595 | 2015-05-10T20:14:47 | 2015-05-10T20:14:47 | 35,384,107 | 0 | 0 | null | 2015-05-10T19:08:07 | 2015-05-10T19:08:06 | null | UTF-8 | R | false | false | 1,073 | r | plot2.R | # Read in 'household_power_consumption.txt' in working directory
rawData <- read.csv("./household_power_consumption.txt", header=T, sep=';', na.strings="?", quote='\"', stringsAsFactors=F)
# Convert date string into Date type
rawData$Date <- as.Date(rawData$Date, format="%d/%m/%Y")
# Subset data to just Feb 1st 2007 ... |
f1f9f705650d33f2b9c46005a5a4e884031c5069 | e67f3901197c81d982db034d42ddde4f3d3c703f | /src/processing/states/MI.R | 9c1ced04c364007de9ea1df30cc7a314ffe5440c | [] | no_license | sneakers-the-rat/openpolicing | 29d3ab03a3fa9e323660521318da48b15ac515af | 97f58158eca31c56fd3b35083d7cbf1ac6949b66 | refs/heads/master | 2020-05-01T04:42:59.217759 | 2019-03-23T11:46:51 | 2019-03-23T11:46:51 | 177,282,043 | 0 | 0 | null | 2019-03-23T11:44:32 | 2019-03-23T11:44:32 | null | UTF-8 | R | false | false | 3,106 | r | MI.R | # Processing code for Michigan
# Set-up
this_state <- 'MI'
change_path(this_state)
# Read in and combine data
print(sprintf("[%s] reading in the data", this_state))
colnames <- read_csv("colnames.csv", col_names='col')
d <- read_csv("data.csv", col_names=colnames$col, na=c("NA","","NULL")) %>%
# Separate out date a... |
44d19116fae883b81bab0a5fcc43e928f414cb63 | d2f94260646f8563f4b20c216a11e15a62c9363a | /LOOCV.R | 7fcb00805ca47fc1bd6a58fd8805911cba9ec4a4 | [] | no_license | KDDing/DSGCR | e75be5a5f0d06df09a9a03e75e7bf8e312c3a1d8 | 56609698b954e576acb97b5a14641c1050df4733 | refs/heads/master | 2020-05-27T08:01:23.111564 | 2019-05-25T08:05:13 | 2019-05-25T08:05:13 | 188,538,271 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,196 | r | LOOCV.R | rm(list=ls())
setwd("...")
RDS <- read.table("***.txt")
SDA1 <- read.table("***.txt")
SDA2 <- read.table("***.txt")
SDA3 <- read.table("***.txt")
RDG <- read.table("***.txt")
RGG <- read.table("***.txt")
RGG <- as.matrix(RGG)
RDS <- as.matrix(RDS)
SDA1 <- as.matrix(SDA1)
SDA2 <- as.matrix(SDA2)
SDA3 <- as... |
d9d523cbf0e7858b274d979a438a0fd8234457b9 | d1f231d793617a69ae96b1bc6942657fa3d5fca4 | /cachematrix.R | 21ea3cf5d1e333ddd43b6a6ce1bf2ac2d7d1a99c | [] | no_license | tycai000/ProgrammingAssignment2 | 6263f694292a469b87393ebba247e7c4e4b7147a | b9056eee28fa22a3565d75581bdd14f5e068b305 | refs/heads/master | 2020-04-05T18:57:12.587988 | 2014-12-16T05:18:01 | 2014-12-16T05:18:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,196 | r | cachematrix.R | #Two functions used to solve and cache matrices in order to speed up processing of matrix data
#Creates a special matrix which produces a list to set and get the matrix, set and get the solution of the matrix
makeCacheMatrix <- function(x = matrix()) {
s <- NULL
set <- function(y) { #sets the matrix
x <<- y
... |
6fd13f7a16946609ce0c7ab28226e1d1f7d43193 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/oppr/examples/add_rsymphony_solver.Rd.R | 2cc651ebee4847b30b450205fccbafb4ae26eba9 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 614 | r | add_rsymphony_solver.Rd.R | library(oppr)
### Name: add_rsymphony_solver
### Title: Add a SYMPHONY solver with 'Rsymphony'
### Aliases: add_rsymphony_solver
### ** Examples
## No test:
# load data
data(sim_projects, sim_features, sim_actions)
# build problem with Rsymphony solver
p <- problem(sim_projects, sim_actions, sim_features,
... |
874f38510e29548eb04e62b0c58c29d033cc4372 | b502e9912eb38e05124717dcde6781e142f62d59 | /pkg/man/lmSelect.Rd | 325316420e287c3f30ea9a092b2f2d517663eaaa | [] | no_license | Anhmike/lmSubsets.R | d019d8b19355a257b4e6c25c9e1b73beeb0a3ce8 | 55787ffaaa66f1c76d97c688923b65501c7b71f7 | refs/heads/master | 2022-11-10T10:26:37.936155 | 2020-06-26T14:55:57 | 2020-06-26T14:55:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,269 | rd | lmSelect.Rd | \name{lmSelect}
\alias{lmSelect}
\alias{lmSelect.default}
\alias{lmSelect.matrix}
\alias{lmSelect.lmSubsets}
\alias{lmSelect_fit}
\alias{lmSubsets_select}
\alias{print.lmSelect}
\alias{plot.lmSelect}
\alias{summary.lmSelect}
\alias{print.summary.lmSelect}
\title{Best-Subset Regression}
\description{Best-subset re... |
7ae16ff00a20683232c51296cb5c724280c637dd | a17c62648baee18fffec862e1d11ad5848936495 | /sagebrush/3sage_functions.R | 5309baf74fd1b82fbcc7ca284bf37d877580b480 | [] | no_license | DataFusion18/Tree_Distribution_Database | 7598ef0624f805d26ab2e3471ab066ac266da115 | 58de8e8ee4d9084f7574378fa183aa385aa8fb32 | refs/heads/master | 2020-04-20T05:53:48.643436 | 2018-06-01T15:01:02 | 2018-06-01T15:01:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,275 | r | 3sage_functions.R | ##3sage_functions.R
####################################################################################################
## pca_subset() chooses the variables through PCA; you define the number of variables
####################################################################################################
pca_subset ... |
6192f242c5966357c160a7f7d5ae0fb451340e42 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/bamlss/examples/predict.bamlss.Rd.R | 5ae98f0e73aedd49aae859d019ad511498d48f10 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,802 | r | predict.bamlss.Rd.R | library(bamlss)
### Name: predict.bamlss
### Title: BAMLSS Prediction
### Aliases: predict.bamlss
### Keywords: regression models
### ** Examples
## Not run:
##D ## Generate some data.
##D d <- GAMart()
##D
##D ## Model formula.
##D f <- list(
##D num ~ s(x1) + s(x2) + s(x3) + te(lon,lat),
##D sigma ~ s(x1) +... |
6aaa505d094eac570efc2b093062eeee765916b0 | 78d4e36526c16fdb5940c2e9de2e6c60dadfcc70 | /man/lm.loss_x_y.Rd | 01dce54334753fb47bfe57e734995f204b6aa3eb | [] | no_license | markushuff/PsychHelperFunctions | b7d5e39ea8d77ff5522e155c0e01d816dcdcf7ab | 00373633ff40eaf102ca580f0232bbccd9d0f940 | refs/heads/master | 2022-09-21T20:36:48.629152 | 2022-09-08T08:54:01 | 2022-09-08T08:54:01 | 47,286,370 | 2 | 2 | null | null | null | null | UTF-8 | R | false | true | 536 | rd | lm.loss_x_y.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lm.loss_x_y.R
\name{lm.loss_x_y}
\alias{lm.loss_x_y}
\title{Estimate the parameters of a linear regression (intercept, slope, error standard deviation)
with maximum likelihood estimations}
\usage{
lm.loss_x_y(par)
}
\arguments{
\item{par}{pa... |
4d6ff7d1484970b9257f9d51958136ee97a7cf0d | 80ba5c4ec283b5628c95510a344822039bf48712 | /Machine Learning A-Z New/Part 3 - Classification/Section 15 - K-Nearest Neighbors (K-NN)/knn_MSL.R | 81414a85af5e96ed31ade0e3d0bd6a80852abfd4 | [] | no_license | remsanjiv/Machine_Learning | bfea8581038364b44a26793f9a75da7b35d4a67e | 8ee8b4188ac1adfe694b79b061a3971aae1f8e5d | refs/heads/master | 2022-01-29T10:38:34.375245 | 2019-06-23T00:15:46 | 2019-06-23T00:15:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,327 | r | knn_MSL.R | # Logistic Regression Intuition
# Lecture 85 https://www.udemy.com/machinelearning/learn/lecture/6270024
# K-Nearest Neighbors Intuition - sort of a clustering idea where we group to a datapoints neighbors
# Lecture 99 https://www.udemy.com/machinelearning/learn/lecture/5714404
getwd() # check Working directory
# Imp... |
6bfbea84eea50ee05b5d3d2c1fb6653dba4e3e66 | 3732780f0c98f8ff8b13805355c17fcfe3d25170 | /man/g2plot.Rd | 3591116722f7c4224a7d061e527dc58042658c6b | [] | no_license | GOUYONGCHAO/g2r | 6a616bc265c5f64c422af6db996528cb3a1f6657 | 4427d2db4f2c8c83867b233fe89ca95fd884b32b | refs/heads/master | 2021-07-19T00:02:16.020711 | 2021-03-16T14:27:35 | 2021-03-16T14:27:35 | 243,919,615 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 303 | rd | g2plot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/g2plot.R
\name{g2plot}
\alias{g2plot}
\title{g2plot main function}
\usage{
g2plot(data, width = NULL, height = NULL, elementId = NULL, ...)
}
\arguments{
\item{data}{data you will be plot}
}
\description{
<Add Description>
}
|
cab2f87fbe9689f8b5ed0b30cdc6ef8830cca4de | feabcc19c0457cdd946433dd0869d0b4b9885384 | /man/multinomial.Rd | 3df7be1f417e5077cb3e3d85512fa3030f229c13 | [] | no_license | cran/lava | e9dd8f8dcdceb987b8a27e62a2b1663b3b060891 | b731197dbd9edb76987ccacf94dd95c6a54e4504 | refs/heads/master | 2023-03-05T00:01:23.232939 | 2023-02-27T07:12:30 | 2023-02-27T07:12:30 | 17,697,007 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,999 | rd | multinomial.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multinomial.R
\name{multinomial}
\alias{multinomial}
\alias{kappa.multinomial}
\alias{kappa.table}
\alias{gkgamma}
\title{Estimate probabilities in contingency table}
\usage{
multinomial(
x,
data = parent.frame(),
marginal = FALSE,
tr... |
18af75afbbb2eeaef8c44f2ca15d8eedb703e042 | ba9c2741339f66bfd24c6dda7cd40b30919a0984 | /chapter_3/analysis_scripts/002_format_plink_egwas.R | 4fe113440979c4c4e52d670bf3906f4856252073 | [
"Unlicense"
] | permissive | cjfiscus/2022_Fiscus_Dissertation | 928b38d55135e125ace47088eddad4615613cc00 | 25110d7120d52d94c99616ebd4eed40da5aed3bf | refs/heads/main | 2023-04-17T19:35:12.737005 | 2022-09-05T20:26:09 | 2022-09-05T20:26:09 | 532,716,601 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,987 | r | 002_format_plink_egwas.R | #!/usr/bin/env Rscript
# prep eGWAS
# cjfiscus
# 2021-12-07
# edited 2022-07-09
library(pacman)
p_load(readxl, raster, rgdal)
# import data and slice out relevant info
df<-read_excel("../data/IITA-Cowpea collection.xls", sheet="Accession passport data")
df<-as.data.frame(df)
df<-df[,c("Accession name", "Latitude", "L... |
c388ea434f6f57a3559a48847a8e6693265ae473 | 1aeef86073188e1298feada1d91ace747438f04a | /man/PValue.Rd | f506f1f6845bddd7c2aa1ba2945617eebffecba3 | [
"MIT"
] | permissive | hollina/scul | c5ff1a79fec29073a7c56d94318fc65cd0931ac2 | 24c025ff4ead667c3d369739399307785ed019d5 | refs/heads/master | 2021-06-11T09:59:36.572123 | 2021-05-18T23:44:49 | 2021-05-18T23:44:49 | 171,319,964 | 21 | 6 | null | null | null | null | UTF-8 | R | false | true | 2,330 | rd | PValue.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PValue.R
\name{PValue}
\alias{PValue}
\title{Calculate a simple bounded p-value for the treatment effect reporting the larger end of the bound}
\usage{
PValue(
x.PlaceboPool.full = SCUL.inference$y.placebo.StandardizedDifference.Full,
x.P... |
3c382b70ae753579cc477cee2116c0e8bee57fa1 | 44ee2f0921befbc6883ddb21250f9ceadb9366bc | /1. Import_Report_Data.R | df993b01e5ab7b50553def1832e422726127cb61 | [] | no_license | MarinoSanLorenzo/PricingGame | cae1c9f20a40e46cc50e98a3b161eec2910fabed | de3bfa0dd74bab49eb981e7eb3a9be1e4c7dbc5a | refs/heads/master | 2020-05-23T19:19:48.923505 | 2019-05-15T22:16:25 | 2019-05-15T22:16:25 | 186,910,029 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 366 | r | 1. Import_Report_Data.R | ##############################################
######### IMPORT DATA
###############################################
library(readxl)
library(DataExplorer)
training_set <- read.csv("C:/Machine Learning/Pricing Game/Pricing Game (UCL-ULB)/pg2019/training_set.csv")
create_report(training_set, y= "Nclaim... |
6c37d5fb731fb2ee8d9b67e50f8dd78712ba020a | 7247441629aaa7cf277cbe9e8896b42ebc1d921b | /4-data_import.R | 0a91969de66b33eb893fd3529b4a25bcd3ec85bb | [] | no_license | johnros/practicing_R | 91333d781f33582c23c931b8012875711cc17bbc | 0f69d2f659ae3747c81591c29221d898bc5400b7 | refs/heads/master | 2021-01-10T19:25:07.421332 | 2014-08-24T12:04:36 | 2014-08-24T12:04:36 | 21,349,335 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,528 | r | 4-data_import.R |
# For a complete review see:
# http://cran.r-project.org/doc/manuals/R-data.html
# or
# "Import and Export Manual" in help.start()
# Whenever possible, try using .csv format!
# ------------- On-line files--------------#
web.data<- read.table('http://www-stat.stanford.edu/~tibs/ElemStatLearn/datasets/bone.data',
... |
27547d981a012a4947e9862b48b82c65d29101ee | ef9d62a5f8a7cd39de7b92063bce2f476eb22acf | /threshold/natvnurt_stage_jpeg_thresh_Mar5.r | 2b856d52fca91f6c60052eab47fe3f030536a7ca | [] | no_license | dbo99/nurturenature | 59a8d2df50aa4eac3d447657ca01fef0a3f50b44 | a4de464bf2611aff0c960f012258e815822ff4d5 | refs/heads/master | 2020-06-02T16:42:33.669175 | 2019-08-21T04:54:07 | 2019-08-21T04:54:07 | 191,232,255 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,357 | r | natvnurt_stage_jpeg_thresh_Mar5.r | ###################### one off slides ##############################
#am_fcast <- ymd_hms(fcasts_firstam)
#fcasts_firstam_date <- date(fcasts_firstam)
## plot inputs
#am_fcast <- c("2016-01-13 07:37:00 PST") #fcasts[4]
#p1 <- ggplot(data = filter(dtrmnstc, fcast_i_pst == fcasts[5]), aes(x = fcast_t_pst, y = kcfs)... |
58a1aa770e611f50554d1b51de154e37689c878e | 0a906cf8b1b7da2aea87de958e3662870df49727 | /gdalcubes/inst/testfiles/libgdalcubes_set_threads/libFuzzer_libgdalcubes_set_threads/libgdalcubes_set_threads_valgrind_files/1609874518-test.R | a5a40c524847622b7d420cf39665c00c1a28a84d | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 110 | r | 1609874518-test.R | testlist <- list(n = 1056964608L)
result <- do.call(gdalcubes:::libgdalcubes_set_threads,testlist)
str(result) |
b6b6b747b23242414a26b4b8374bcf041fd3189b | 67222f69dd1a5b5ced1d28df833a303924dbde35 | /1. Practice/Other/prc bear.R | b7bf5473ad83689b33dd5a7ee7a536867e3abeae | [] | no_license | mandarmakhi/DataScience-R-code | 4f75906507e303fb9b438b99a5eab0a74bcc77f6 | 8c1728b306e53668b1814283da9936503e0554b9 | refs/heads/master | 2023-01-19T04:55:11.171455 | 2020-11-28T07:59:55 | 2020-11-28T07:59:55 | 263,417,867 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,558 | r | prc bear.R | #airquality=read.csv
#In R Console extract data set
airquality<-datasets::beaver2
head(beaver2) #Run
tail(beaver2) #Run
beaver2$time #Run
#descriptive_stat
#It's show's median, mean, min, max
summary(beaver2$time)
summary(beaver2$temp)
summary(beaver2$activ)
#Ploat
plot(beaver2$temp)
plot(beaver2$temp,beaver2$time)... |
a617388059213e19ea4d048cd66d485c579598c5 | 71ebbd1395dbe39c89742d42138080d45324afa4 | /Day 7/Day 7.R | 68de93f8792681201ffe991121269a995eb9d7a4 | [] | no_license | Kendrick-Onyango/100DaysCodeChallenge | b937c4d9e062f174ad60683ba459c4e9335d3bbc | 734dffa3f48d40af8f910b974f3dc3ba7ad22f4b | refs/heads/master | 2023-02-21T07:18:46.528088 | 2021-01-26T14:21:37 | 2021-01-26T14:21:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,552 | r | Day 7.R |
#Evaluating Scoring Models
rm(list = ls(all=TRUE))
cat('\014')
# Please have an up to date version of R (3.5.*, or newer)
# Answer "no" to:
# Do you want to install from sources the packages which need compilation?
update.packages(ask = FALSE, checkBuilt = TRUE)
pkgs <- c(
"arules", "bitops", "caTools", "cdata",... |
0626a6b3419f558e1bcfc8efc472ed2280337573 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/nandb/examples/number_timeseries_folder.Rd.R | 302554f29453835db726dfd3806a53408e7f47f2 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 471 | r | number_timeseries_folder.Rd.R | library(nandb)
### Name: number_timeseries_folder
### Title: Number time-series calculations for every image in a folder.
### Aliases: number_timeseries_folder
### ** Examples
## Not run:
##D setwd(tempdir())
##D img <- ijtiff::read_tif(system.file('extdata', '50.tif', package = 'nandb'))
##D ijtiff::write_tif(img... |
699865ff1566009703c7f7ba3aa1ed8711119aff | 4951e7c534f334c22d498bbc7035c5e93c5b928d | /sourcecode/member-order/struct-type-table.R | 6882c32049e3f55a99374ef0ec6aa7e127a01a58 | [] | no_license | Derek-Jones/ESEUR-code-data | 140f9cf41b2bcc512bbb2e04bcd81b5f82eef3e1 | 2f42f3fb6e46d273a3803db21e7e70eed2c8c09c | refs/heads/master | 2023-04-04T21:32:13.160607 | 2023-03-20T19:19:51 | 2023-03-20T19:19:51 | 49,327,508 | 420 | 50 | null | null | null | null | UTF-8 | R | false | false | 1,558 | r | struct-type-table.R | #
# struct-type-table.R, 2 Jan 18
# Data from:
# ???
# Derek Jones
#
# Example from:
# Empirical Software Engineering using R
# Derek M. Jones
source("ESEUR_config.r")
library("ascii")
# num members,type seq,occurrences,num grouped
# 4,1 1 2,239,185
type_comb=read.csv(paste0(ESEUR_dir, "sourcecode/member-order/C-ty... |
4ccef7d15a3bb5f803d6a715bcd84b806b5be759 | 13792528e8e0e5fdbca9bd553086e796f9c78f25 | /code/scripts/training-testing-sets.R | 77e859103302a0a9d0f091aaf89f252fd336d455 | [
"CC-BY-4.0",
"Apache-2.0"
] | permissive | xiaoqian-zhu/stat159-fall2016-project2 | efcac8c19100735c44b5bf5964a18f4e97b9151c | d5f626b0a07ba13ad56d97811a153cf4dad10f79 | refs/heads/master | 2021-01-12T12:33:46.176095 | 2016-11-05T07:06:23 | 2016-11-05T07:06:23 | 72,565,193 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 503 | r | training-testing-sets.R | # Training and Testing Sets: this script is used for building the training and test sets.
# Load the data
scaled_credit <- read.csv('../../data/datasets/scaled-credit.csv', header= TRUE)
scaled_credit$X <- NULL
set.seed(0)
sampleset <- sample(1:400, 300, replace = FALSE)
# Create the train set
train_set <- scaled_c... |
e0e021626a53697adfcb89d99ee10828c57666e7 | 4603a0ae8dc16f871d35c7738e123918ff4ba326 | /plot3.R | 49ba475e9d9edeb4a583d2e9b5ff1bde62da6b27 | [] | no_license | kenjimatsuzawa/ExData_Plotting2 | 5c93fa39ac71c5fd4e967c3150644e9dc709dfa6 | 233459711a9348c74f2fb94808132f2ad4a37b11 | refs/heads/master | 2023-06-27T06:39:12.763941 | 2021-07-26T06:25:44 | 2021-07-26T06:25:44 | 389,433,600 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 757 | r | plot3.R | ## This first line will likely take a few seconds. Be patient!
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
# load dplyr package
library(dplyr)
library(ggplot2)
library(reshape2)
# filter the data with Baltimore
filterbybalt <- filter(NEI, fips=="24510")
yeartypebalt <- with(... |
6f5d20a101dc64914bc8e7326104eeda27041a53 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/pairwiseCI/examples/sodium.Rd.R | 902914871e5cd1419d8b97b0a250512817d440d4 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 224 | r | sodium.Rd.R | library(pairwiseCI)
### Name: sodium
### Title: Sodium contents in transgenic and isogenic corn
### Aliases: sodium
### Keywords: datasets
### ** Examples
data(sodium)
boxplot(Sodiumcontent ~Treatment, data=sodium)
|
9208503520f6ac405c65e5281c74ede3f8d3ece5 | 562bec580adc7d612d0e9a3d0be2f30237396367 | /milestoneReport/nGrams.R | f263dd8659bab11f34e37c735fb43ebe4cfae239 | [] | no_license | bms63/Coursera_Data_Sci_Capstone | 3f21ac1941abeac212c8957a1be24d776d922e5f | 157317b147efecb5e2f128ce59ddb5c9fb36dfeb | refs/heads/master | 2021-04-09T17:36:56.322379 | 2018-03-23T20:43:12 | 2018-03-23T20:43:12 | 125,875,128 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,412 | r | nGrams.R | library(RWeka);library(rJava);library(tm)
final <- readRDS("./SampleCorpus.RData")
# Unigram
unigram <- NGramTokenizer(final, Weka_control(min = 1, max = 1, delimiters = " \\r\\n\\t.,;:\"()?!"))
unigram <- data.frame(table(unigram))
unigram <- unigram[order(unigram$Freq, decreasing = TRUE),][1:10,]
colnames(unigram) ... |
739d2d45aec1465301db7180e88c561965322137 | 93005dac4be25d7fb42cc09a08ab303439c32c3c | /man/gzAzimuth.Rd | c5552065eca1e67b6d04807b9ddb691563b92d64 | [] | no_license | cran/maptools | 826901e049878087bdc9deb1b2e8076b43d5f79b | 729e48b3254b5d8ccb85ca4bbbb32bbd7d07b026 | refs/heads/master | 2023-07-24T12:12:31.900627 | 2023-07-18T19:10:02 | 2023-07-18T20:30:36 | 17,697,281 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,370 | rd | gzAzimuth.Rd | \name{gzAzimuth}
\alias{gzAzimuth}
\alias{trackAzimuth}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Find azimuth for geographical coordinates}
\description{
The function finds azimuth values for geographical coordinates given as decimal degrees from the \code{from} coordinates to the \code{t... |
8eb988378b2b2b0eebb7866e9e345c1b453ca31f | e13beecf3ee11cbe5ffcd2916bbdc13f22e70748 | /loading data.R | 47a33eb89c793105cfb662a45cd3460e9d3aedbd | [] | no_license | ljpollack/BWS_Disturbance | 0d9101a1f7d31cbac943a3a7bb50c97a373ad121 | db021704d1cb7332e2d7e4b4fc56d22a44d5f322 | refs/heads/master | 2020-03-17T16:33:57.750037 | 2018-05-29T19:10:20 | 2018-05-29T19:10:20 | 133,753,536 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,125 | r | loading data.R | #Brown-Black widow web competition script
rm(list = ls())
#library(lme4)
#library(bbmle)
#library(dplyr)
#library(rptR)
#library(MASS)
#library(boot)
#library(beepr)
#library(lsmeans)
#library(piecewiseSEM)
#library(MuMIn)
#library(data.table)
#working directory already set, below code did not work-###
#setwd(User... |
c9fe6023f56f8d6cbd4892801ee4a174154ae864 | 4b457d64d1e40b33010f9a4674a06131b223fcb4 | /man/getCalibrationInfo.Rd | 450001c40fa88733d6d8f01d8d307beb0a822db8 | [] | no_license | roliveros-ramos/calibrar | 96d5727f895dbf80f6881d744f6b515a304315d6 | 90b38e0bb0ca76021edc81d6b6f53b81cd2683a8 | refs/heads/master | 2023-07-20T00:12:59.140976 | 2023-07-07T14:26:36 | 2023-07-07T14:26:36 | 20,023,815 | 12 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,047 | rd | getCalibrationInfo.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calibrar-DEPRECATED.R
\name{getCalibrationInfo}
\alias{getCalibrationInfo}
\title{Get information to run a calibration using the \code{calibrar} package.}
\usage{
getCalibrationInfo(
path,
file = "calibrationInfo.csv",
stringsA... |
6a017e5e2d2758222bcaaef62b1eca2dd1444834 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mvLSW/examples/rmvLSW.Rd.R | df429b97aa3b906d7b2424b0f8f7eddc3fba8fd1 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,180 | r | rmvLSW.Rd.R | library(mvLSW)
### Name: rmvLSW
### Title: Sample a Multivariate Locally Stationary Wavelet Process
### Aliases: rmvLSW simulate.mvLSW
### Keywords: rmvLSW, simulate.mvLSW
### ** Examples
## Define evolutionary wavelet spectrum, structure only on level 2
Spec <- array(0, dim = c(3, 3, 8, 256))
Spec[1, 1, 2, ] <- 10... |
d2b0a1ce4d04540f11d7c9f6272993a7eacd6c8f | b0f7d5d2489e761646c6363d2958e9d3a1b75747 | /Analytics Edge/Unit4_Assignment.R | 3715a8f8fd0277b1b6031cded59488bb61be22d7 | [] | no_license | krishnakalyan3/Edge | 4cd5cb55677ed662dda4d4acdf7fba4c7e813735 | ad070911bd36c26ff7c612b4adc4150a53579676 | refs/heads/master | 2021-01-21T04:46:50.714837 | 2016-07-03T10:48:34 | 2016-07-03T10:48:34 | 53,034,825 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,714 | r | Unit4_Assignment.R | data(state)
statedata = data.frame(state.x77)
str(statedata)
attach(statedata)
model1 = lm(Life.Exp ~ Population+Income+Illiteracy+Murder + HS.Grad + Frost+
Area)
summary(model1)
pred = predict(model1,statedata)
sse = sum((pred-statedata$Life.Exp)^2)
sse
model2 = lm( Life.Exp ~Population +Murder+ Frost+... |
5fae3762e082b7459f2ada33fc70fe244481fee2 | 2b51d5c7b103ae838bf532b7b16b2c32c5726a72 | /cachematrix.R | 83c1c9bf6cf5ced2370f0e7d4491f4aa2b054666 | [] | no_license | cjinlee/clee_Rprogram | 2accff4d36a014df4271b9baeb4dafbb5c40ce45 | fc59b3e0b0b0763e01a60a9034b07b96efbd8507 | refs/heads/master | 2016-08-11T16:40:01.756976 | 2016-03-18T15:37:04 | 2016-03-18T15:37:04 | 54,212,204 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,276 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## In makeCacheMatrix function, we can set or get a matrix.
## In cacheSolve function, we can calculate inverse of a matrix.
## But if the inverse has already been founded,
## it returns the inverse from cache without computing a... |
b75822453adc94ec9a9c0fb31ffcf6149d5b0e40 | 1f978f98990e0158a100f75a69a28895470d0dbe | /analysis/simfunctions.R | b901c05f90e90d39d557b464d47f37ef69d48094 | [] | no_license | nick-fournier/ped-transit-priority | 6bb43ff23cb560fc1b76fcf50f26927363cde145 | c2b488383163384d5ae43081c1e3f1157262143b | refs/heads/master | 2021-11-07T02:21:19.112904 | 2021-10-29T18:10:56 | 2021-10-29T18:10:56 | 243,087,231 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,506 | r | simfunctions.R |
#Flow across network at distance r from center
fun.qr_a <- function(r) ((14*R*lambda_b) / (15*delta)) + (lambda_c/(2*sqrt(2)*r*delta))*(R^2 - r^2)
#Flow around perimeter road
fun.qg_p <- function(g) lambda_b*g*(R - g)*(R^2 - g^2) / R^2
#(2*lambda_b*g*(6*R*(1 + sqrt(2)) - 11*g)*(R^2 - g^2)) / ((R-2)*delta*R^2) #old ... |
d172a1094d596791bbb19dd5f0168029da7bccf7 | b8233ffee6997c68f6e1ef57fbf040da5a4134b9 | /Practica2/faces_lr/printRes.R | d44d106297010c1c2726058a67a8d8c2e3efaa2d | [] | no_license | palonso22/Machine-Learning | 77189e79d12f19595c913d98e98240483b302bc3 | 674a9ada34b016511727c4b9f811acbdf76b2409 | refs/heads/master | 2022-11-17T12:10:46.993534 | 2020-07-18T15:12:20 | 2020-07-18T15:12:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 323 | r | printRes.R | setwd("/home/pablo/Desktop/Facultad/5to\ año/Machine-Learning/Practica2/faces_lr/")
datos <- read.table("faces_lr.mse",sep = "\t",header = FALSE)
epocas <- 1:nrow(datos)
plot(epocas,datos[,5],col="red",type="o",xlab="Épocas",ylab="Error de clasificación",ylim=c(0,1))
points(epocas,datos[,7],col="yellow",type="o")
|
b17cc7956ee984426ad4abf408fc9136a0a432fb | 3059b99e4aa4b3ddbdf19ab0570ad322c5604a88 | /Quizii_V7/Globals.R | e0d47c5f609aad10ed3e9389feccbcbd2045d1a8 | [] | no_license | witusj/Quizii | f75f540d8b1c41c9c5b5c22043b7860c8541be18 | ca053f1cdb576d32941c1dddbc6ea4b9ccec39d8 | refs/heads/master | 2020-06-04T20:05:51.638894 | 2014-09-23T12:03:43 | 2014-09-23T12:03:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 394 | r | Globals.R | #Load questions
questions <- read.csv(file='Vragen.csv', colClasses = 'character', header = TRUE)
questionsMC <- questions[questions$Onderwerp == 'Financial Accounting' & questions$Subcategorie == 'Vermogensbehoefte' & questions$Type == 'MC',]
questionsOpen <- questions[questions$Onderwerp == 'Financial Accounting' & q... |
4209f983d4d4795058c259dde0dfb2d64d367391 | 8e127d47ba1ade5e098cf03561b519da1eca9e85 | /tests/testthat/test_outputStream.R | d0f611b7047540a6ff6268e4d88acf6c2d993a64 | [] | permissive | allekai/R-streamgenerator | 6bff4cd3cd3fe18764e0ab79e93d9aaf794e7a81 | 65a67337364103d46681172e95a0b62fcf3372b7 | refs/heads/master | 2021-04-15T03:41:07.917081 | 2018-11-02T15:11:17 | 2018-11-02T15:11:17 | 126,463,944 | 0 | 0 | BSD-3-Clause | 2019-09-30T13:23:16 | 2018-03-23T09:38:16 | R | UTF-8 | R | false | false | 55 | r | test_outputStream.R | library(streamgenerator)
context("Test Output Stream") |
a9b80534e1e11bc67101f685e8e02477087de564 | d133105fe8d3ffad2ca3a76c3a7fa32c5042fca7 | /cachematrix.R | f798f937e5ac4799ac1e6226b20de2afedd21a7e | [] | no_license | gyanjoshi/ProgrammingAssignment2 | 83e1fdc458e9194e5d7acc8d5df44a35d820ffce | 3e5561f72fe422bd33ab1fddd9432d8c32d2762e | refs/heads/master | 2020-11-26T02:42:38.000162 | 2019-12-20T17:02:27 | 2019-12-20T17:02:27 | 228,941,294 | 0 | 0 | null | 2019-12-18T23:59:57 | 2019-12-18T23:59:56 | null | UTF-8 | R | false | false | 1,791 | r | cachematrix.R | ## makeCacheMatrix creates a special object, which caches the inverse of a matrix
##
## This function will create a list of functions nedded to create cache of Inverse of matrix.
## x is a matrix, which is square invertible matrix.
## i is calculated inverse of the matrix x
## set function sets the matrix object x o... |
d07c1e561320d9e3ce64404a469215aa8ed32864 | 82c6118ca4b0d28c8162975c73cadc598350c1f4 | /plot_analyse.r | 88ba4946dab0a446ca42d38dee2a6454440b0550 | [] | no_license | yishuo/Text_Social_Mining | 72604d33a85a67551e4134b2779fa5719a88bd8f | ba92b72041d218490e7832bf61c4c799db6cc83e | refs/heads/master | 2021-01-10T01:06:23.939719 | 2016-02-01T21:49:19 | 2016-02-01T21:49:19 | 50,871,736 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,896 | r | plot_analyse.r | Sys.setenv(JAVA_HOME='D:/Program Files (x86)/jdk1.7/jre')
library(XLConnect)
library(igraph)
table <- read.csv("C:/Users/lv/Desktop/Data mining/R_Projet/table.csv")
tableno <- read.csv("C:/Users/lv/Desktop/Data mining/R_Projet/tableno.csv")
tableArc <- diag(0, nrow=56, ncol=2)
index <- 1
#row numero
for (i in seq(fr... |
adbc426453e7dccc7a2e6bf622221d1f843b8d7f | c6c9b0c0ee14337e2d46176bba525c0d85decae6 | /ki_simulation.R | 5f0efd8cbe873ebbb6f8c9eae12cee24fd54bad1 | [] | no_license | benearnthof/FFFT | dcde3cc0727a9d6a896c2575433750473bffb142 | 4881f744bb83f9187299caf75e9d09f2ad06bbae | refs/heads/master | 2023-02-09T20:27:04.229070 | 2021-01-04T15:57:14 | 2021-01-04T15:57:14 | 261,377,588 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,602 | r | ki_simulation.R | # lets get done with the confidence intervals for the simulation, how hard can it be?
# if the checkbox KI? is ticked we simply run the simulation again with the "optimal" and "worst case" parameters.
# The fitdistrplus package allows us to fit not only the parameters to the data, but also obtains KIs while doing so.
#... |
0b35719f4d4aea43388ff12f6bd84a7bbbe2b47a | 241c99c7dbd3eba623d72ffdfdaa1a652be1bafb | /R/NP-DanielTrend.R | 1ddb468498d7b1c35914a0cd68491fe263ad8c33 | [] | no_license | JacintoCC/rNPBST | 29b64f3230f5fc905f358f65e2b176e29c517324 | 633e7d2ba56707c721c4e6f6e1cfa3c67a79c703 | refs/heads/master | 2022-06-07T22:32:56.036084 | 2022-04-12T15:31:45 | 2022-04-12T15:31:45 | 80,525,887 | 11 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,991 | r | NP-DanielTrend.R | #' @title Daniel Trend test for bivariated samples
#'
#' @export
#' @description This function performs the Daniel Trend test
#' @param matrix Matrix of data
#' @examples
#' x <- 1:10
#' m <- matrix(c(x, 2*x+rnorm(length(x))), ncol = 2)
#' danielTrend.test(m)
#' @return A list with pvalues for alternative hypothesis, s... |
afe34064a98ce666b559132717071f91745a7b13 | cfb424fefe1cf296c16923e21bd025d14fd306ae | /R/eqSS.R | 34af41cf965a3db8d96ccced0328e725164c1890 | [] | no_license | aalfons/laeken | 50f196461589ff83c804abdab2c58eb332cf763b | 31db96b2f190aa200d5a9bf3cde1b59517d0b56b | refs/heads/master | 2021-11-24T01:18:01.259305 | 2021-11-23T12:47:48 | 2021-11-23T12:47:48 | 23,109,818 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,669 | r | eqSS.R | # ---------------------------------------
# Author: Andreas Alfons
# Vienna University of Technology
# ---------------------------------------
# TODO: error handling
#' Equivalized household size
#'
#' Compute the equivalized household size according to the modified OECD scale
#' adopted in 1994.
... |
e067a6be3da166ba962c464ed76d087b40a4cc13 | 34b2fa58e5093355db849964f500e202b2bcac3f | /plot3.R | d7896ff3805a310a9569db0e75e4f2c0aa52465e | [] | no_license | gvillemsr/ExData_Plotting1 | 3e4558859f08e0f8fb211f9e2d9a00d1d34dfe70 | da08f2cd17d57dfc7052c7a7f159706a8fc0ba6c | refs/heads/master | 2021-01-18T06:19:21.523840 | 2015-09-10T20:05:52 | 2015-09-10T20:05:52 | 20,627,117 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 875 | r | plot3.R | eleccons<-read.table("household_power_consumption.txt",
header=TRUE, sep=";",skip=66636, nrows=2880)
#Just reading the two days worth of data
summary(eleccons)
tit<-read.table("household_power_consumption.txt", header=TRUE, sep=";", nrows=1)
get.names<-names(tit)
names(eleccons)<-get.names
summary... |
e28719377e6d19bc289a20e802489bf46f6e11bd | 715853d1dd2e10d62d28b1b9d725853d7fd51929 | /R/csortb-package.r | 8662eb2f007c649623db0b987e39afb4bfad2672 | [] | no_license | mryap/rtbdata | acaf87431177fbeedcf5186788a745e3b34d630b | 51a8fa511b416267c5cc53ea192fa4b3e27f49be | refs/heads/master | 2021-04-25T22:08:08.132315 | 2017-11-04T16:56:27 | 2017-11-04T16:56:27 | 109,512,808 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 261 | r | csortb-package.r | #' csortb.
#'
#' Residential Tenancies Board (RTB) Average Monthly Rent Report by
#' Property Type, Location, Number of Bedrooms and Year
#' 2008 to 2016 hosted by Ireland's Central Statistics Offices
#'
#'
#' @name csortb
#' @docType package
NULL
|
c0551a9ef956f21f445bd3fa275ea2cddd9c40ac | e64a9c27e7c89fad358cb86861796316e3f143c0 | /01-R_basic/01-data_structure/07-data_frame.R | 6b9ab06f70ad1acd5754b320625fa70a8bfb5b46 | [] | no_license | gcl-sg/rstudio-demo | 129abacc9a37672c5b7aee5abf1e6de40d968d79 | 2eae606bcf5079f4358870a91e7606844fc02e47 | refs/heads/master | 2021-01-20T03:34:59.478479 | 2017-05-26T08:03:25 | 2017-05-26T08:03:25 | 89,558,368 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 487 | r | 07-data_frame.R | # data frame
# 存储表格数据(tabular data)
# 视为各元素长度相同的列表
# 每个元素代表一列数据
# 每个元素的长度代表行数
# 元素类型可以不同
df <- data.frame(id = c(1, 2, 3, 4), name = c("a", "b", "c", "d"), gender = c(TRUE, TRUE, FALSE, FALSE))
l <- list(id = c(1, 2, 3, 4), name = c("a", "b", "c", "d"), gender = c(TRUE, TRUE, FALSE, FALSE))
nrow(df)
ncol(df)
df2 <... |
3cc6cd2692bac54f353bf6ef9aba8c01de2f0e87 | 317360cc997480b99ee0b5f29d4f682d5c5493e5 | /R/random_forest.R | bf41dbc440c9ab96e4b977144ca61a06e86921e4 | [] | no_license | StevenBoys/Ensemblelearn | 408fcd88b533bbcf4e57de6518a10dd8cf5bee7c | db4c1da875020970597d38f607f5af0e34a70f8b | refs/heads/master | 2020-09-05T12:10:11.829363 | 2019-12-08T04:26:06 | 2019-12-08T04:26:06 | 220,099,511 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,613 | r | random_forest.R | #' Function that builds weak model on Decision Tree for regression task
#'
#' @param x - input independent variables x for the training
#' @param y - input dependent variable y for the traisning
#'
#' @return The trained Decision Tree model based on the input data.
#' @export
#'
#' @examples
#' x <- matrix(rnorm(4000),... |
13c02687e70da83641808c1561a645089799df7d | 76be26397cc5cec4902b7a001abf9eaf1095df19 | /R/install_packages.R | 0357c6ec0abcdb2d4fa8768e26806a9cc91c3471 | [] | no_license | pfistfl/mlr-benchmark-docker | 632ef31ad7a60c069d8d19ec44774533593f3d4d | 3578281fccf6a60320883f316825e4b52a018d9a | refs/heads/master | 2020-03-24T23:46:58.889600 | 2018-08-01T14:26:43 | 2018-08-01T14:26:43 | 143,154,002 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,055 | r | install_packages.R | ## Setting up the Benchmark
# 1)
# Install required R-Packages for the benchmark (add yours here)
# install.packages("devtools")
# install latest mlr version
install.packages("devtools")
# Required for benchmark
install.packages("farff")
# install.packages("mlrMBO")
# install.packages("DiceKriging")
# install.package... |
890487f760847b0795132ff493873c767a3aff59 | 9c6e923123835d093e0a32d05014dbd1c4d21d7d | /R/getTrainHistory.character.R | e21936d017dbcf4da39bbb54a72e16dfd28a888d | [] | no_license | MarkusBonsch/mxLSTM | bb80ac8e683ee9c5bbd03444827051bbef49af87 | 7a4caa4171815a284bb7a8c01096e01f61a00d6f | refs/heads/master | 2021-09-09T10:28:22.704051 | 2018-03-15T06:50:53 | 2018-03-15T06:50:53 | 110,008,435 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 817 | r | getTrainHistory.character.R | #' @title getTrainHistory.character
#' @description returns the logged performance metrics of an stored model object.
#' @param model the path to a model that has been saved for example with \code{\link{saveLstmModel}}
#' @return data.frame with train and eval performance
#' @export getTrainHistory.character
#'
getTra... |
cb7e66b1dc3eb8104eda77b8696047f9338ebb0e | cb2e9f97913785f7d79bf1c6f6fea93298b19cf2 | /man/SegmentCGH.Rd | 50c1850f693061996f0663edc93bd61ed557b186 | [] | no_license | brian-bot/rCGH | 5aa6d08ea708f94c8e70e90a6549b919637819d8 | 4c27a21d4d84a5a45168369281ab6d5fe85df705 | refs/heads/master | 2016-09-07T01:52:14.147611 | 2015-02-03T19:50:43 | 2015-02-03T19:50:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,495 | rd | SegmentCGH.Rd | \name{SegmentCGH}
\alias{SegmentCGH}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
%% ~~function to do ... ~~
}
\description{
%% ~~ A concise (1-5 lines) description of what the function does. ~~
}
\usage{
SegmentCGH(object, Smooth = TRUE, UndoSD = NULL, minMarks = 8)
}
%- maybe also 'usage' ... |
9a7e56e106913b91a23481b56f09b78f743a77ba | 9668d4d06dec8b4b1349961168a811806f0ca8b5 | /plot2.R | c39949a855336e08e40a9ec1be41f96834b6264a | [] | no_license | pcharala/ExData_Plotting1 | 9406318a5a7bbbf3841c9d8e95e4b1c97f7c572a | 708e97cf4dd235c4b9a361321273eace10c7c7bb | refs/heads/master | 2021-01-24T02:38:41.235360 | 2014-06-06T22:01:57 | 2014-06-06T22:01:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 523 | r | plot2.R | # load necessary subset of 'Household Power Consumption' data
data <- read.table(file='household_power_consumption.txt',header=T,sep=";",quote="",na.strings="?")
idx <- ((data$Date == '1/2/2007') | (data$Date == '2/2/2007'))
data <- data[idx,]
# open png device
png(file='plot2.png', bg = 'transparent')
# draw plot
da... |
fb000a9bd1a5a584052c6569064861e9348d6d43 | f9d607dd79d2e3a1da2b32a319726cbf4ef36f80 | /man/update_quiz.Rd | e8450e72cf3d6a45512a66336ed2b68d465a2f60 | [
"MIT"
] | permissive | stibu81/WordBox | 4652f7e0177a4ed421e5eccc0bd3d97727135509 | f9336ca69d6128caaaf7f9fc980f86b63f9ca0f2 | refs/heads/master | 2022-12-26T05:01:37.754675 | 2022-12-10T12:07:10 | 2022-12-10T12:07:10 | 205,691,037 | 6 | 0 | NOASSERTION | 2020-11-01T17:04:31 | 2019-09-01T14:51:42 | R | UTF-8 | R | false | true | 1,180 | rd | update_quiz.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mark_words.R
\name{update_quiz}
\alias{update_quiz}
\title{Update Quiz After Question Was Answered}
\usage{
update_quiz(question, quiz, wl, success)
}
\arguments{
\item{question}{the \code{\link{wordquestion}} object that
has been quizzed.}
... |
c8b380eac96719f04b6228966dd8db9bd8f21207 | b68f34133c24ce1bff6f5de2aa9da15ad839a2b7 | /rjmcmc/rjmcmc.R | 3eb2d58674f0c590999130399eb3ab759207cae0 | [] | no_license | bob-skowron/SU19-Independent-Study | 16d7bbd3fda3bf3fa424696faa7e7a3ce42181b7 | 54f4bcf986d798c95ab229e4e2548961f13c2592 | refs/heads/master | 2020-04-25T01:54:07.740363 | 2019-08-04T12:33:54 | 2019-08-04T12:33:54 | 172,421,661 | 0 | 1 | null | 2019-07-18T22:34:57 | 2019-02-25T02:41:50 | Python | UTF-8 | R | false | false | 7,285 | r | rjmcmc.R | ###########################################################################################
# Author: Nick Syring
# Contact: nasyrin@gmail.com, https://github.com/nasyring
# Title: R codes for Bayesian dirichlet/gaussian regression, posterior sampling via RJ-MCMC
########################################################... |
8ff66624deca364f42c2c98c079f98a896718aaa | 4a90a8d09f1e4b8c79d3982e0f235c4d064e74c1 | /R/plot-add-run.R | 2a7e729ba2c1d145442d8e048c8b3f540402d6bc | [] | no_license | bsnouffer/atlantistools | 3696d68837ac61256305e68a5a2ce49ca9cf9e86 | 3bcdb27696f9b16ce76869371658e41ddce1d374 | refs/heads/master | 2021-01-15T11:14:33.996939 | 2016-08-31T21:13:51 | 2016-08-31T21:13:51 | 67,061,727 | 0 | 0 | null | 2016-08-31T18:09:12 | 2016-08-31T18:09:11 | null | UTF-8 | R | false | false | 1,376 | r | plot-add-run.R | #' Low level plotting function to apply color coding to plots based on run variable!
#'
#' This function can be used to add colour coding to plotting routines without color specification
#' e.g. \code{plot_ts()}, \code{plot_calibrate()} or \code{plot_physics()}. The colorcoding is
#' based on the column run so you need... |
d1ffef3c99b3626562677f2232479941c02463bf | 0cf0b5ff1a7e1b2913472ebd198059df0d77e028 | /Exam.r | 6790fe1f2786e72ac104e0c3d2836b1dec669bc2 | [
"MIT"
] | permissive | CSUBioinformatics1801/R_Bioinformatics_ZYZ | ab913182ba5253c43ad1b7fb90da042554dcff83 | 2b5eb49522aecf4bb5cf6e15f945e4c9e6b54cf2 | refs/heads/main | 2023-07-16T18:11:57.592795 | 2021-08-22T04:02:41 | 2021-08-22T04:02:41 | 358,190,411 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,666 | r | Exam.r | cepath="C:/Users/stu/Desktop/exam"
if(getwd()!=cepath)setwd(cepath)
# -------------1-----------------------
#temp=read.csv2(file = "metadata.csv",header=TRUE,seq="\t")
pattern_str_C="Control Neurones"
pattern_str_D="Diabetic Neurones"
library(stringr)
judge_Cneu=!is.na(str_extract(pattern = pattern_str_C,metadat... |
7f5bb022a3bb5110fcf4aa7de95fcba3b748d8e7 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/pollen/examples/pollen_season.Rd.R | f63893625c6f074aa0e73e2d4ef3da5ad30e9288 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 534 | r | pollen_season.Rd.R | library(pollen)
### Name: pollen_season
### Title: A Pollen Season Function
### Aliases: pollen_season
### Keywords: pollen pollen, season
### ** Examples
data(pollen_count)
df <- subset(pollen_count, site=='Oz')
pollen_season(value=df$birch, date=df$date, method="95")
df2 <- subset(pollen_count, site=='Atlantis'... |
5822691e7b1b05d835a75309eb5b6c0b7223f0af | f8eb55c15aec611480ede47d4e15e5a6e472b4fa | /analysis/xxxx_rebalance_during_dd.R | b206803afeec0c6b94f0450219016e1b2d2c5132 | [] | no_license | nmaggiulli/of-dollars-and-data | a4fa71d6a21ce5dc346f7558179080b8e459aaca | ae2501dfc0b72d292314c179c83d18d6d4a66ec3 | refs/heads/master | 2023-08-17T03:39:03.133003 | 2023-08-11T02:08:32 | 2023-08-11T02:08:32 | 77,659,168 | 397 | 32 | null | null | null | null | UTF-8 | R | false | false | 5,678 | r | xxxx_rebalance_during_dd.R | cat("\014") # Clear your console
rm(list = ls()) #clear your environment
########################## Load in header file ######################## #
setwd("~/git/of_dollars_and_data")
source(file.path(paste0(getwd(),"/header.R")))
########################## Load in Libraries ########################## #
library(scales... |
280ce0878fa6751624891a51cca076e39051afd2 | c87d57b2a65caa9fed284f80ded4f81b117d846b | /Exercise/app.R | c07c4d8d09e3556ff9943db9bd0559325044dadb | [] | no_license | avijandiran/My-shiny-dashboards | 7bdb77b114bc92d542049627c6a63f2221a08d9f | 3ce2059d4510e009bd95d74684461ae0c9b79b94 | refs/heads/master | 2020-05-05T06:34:00.910896 | 2019-06-13T09:56:39 | 2019-06-13T09:56:39 | 179,793,508 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,840 | r | app.R | library(ggplot2)
library(shiny)
ui <- fluidPage(
titlePanel("Basic DataTable"),
fluidRow(
# Create a new Row in the UI for selectInputs
fluidRow(
column(4,
selectInput("man",
"Manufacturer:",
c("All",
... |
2be24568a8c3c94d758a87a4fb2a16a9e13ba3ef | 8d119d59dedf7994c9b14a637fc069d3a3e0494c | /RPackageSource/man/ModelSummary.Rd | 6e27f2efd86aa62af76c2fbc159ff560eaa84cf7 | [] | no_license | CBIIT/R-cometsAnalytics | 3f77bf818050eefbcef4e5a74a5cdab0e17157dc | bc0da393319a7fc2ec53275f9545d24b982faabc | refs/heads/master | 2023-08-24T04:34:16.888409 | 2023-08-04T20:28:26 | 2023-08-04T20:28:26 | 64,139,217 | 8 | 9 | null | 2023-09-13T18:43:04 | 2016-07-25T14:02:36 | HTML | UTF-8 | R | false | true | 2,660 | rd | ModelSummary.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/outputColumns.R
\name{ModelSummary}
\alias{ModelSummary}
\title{ModelSummary table}
\description{
The ModelSummary data frame contains one row of model
summary results for each exposure/outcome combination.
Depending on the model run and opti... |
61f25ff26a60be0060f3f1e485c3f1199b445058 | 795be8da46ed5bbb3fe29898bd9e18ac9c068916 | /AlgaePhyloAntibio.R | d5deb6a4f79f7183cb38839332268a9e2e7a895c | [] | no_license | antropoteuthis/phylo_erythro | e39459d568808939275a998f13e0efe909129654 | 7b92fb61e90b0cfa4689da7fd94056989856c495 | refs/heads/master | 2020-03-18T04:16:24.045723 | 2018-07-24T17:27:21 | 2018-07-24T17:27:21 | 134,279,402 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,973 | r | AlgaePhyloAntibio.R | ##Microalgal Resistance Evolution##
rm(list=ls())
par(ask=F)
###Load libraries
library(reshape2)
library(dplyr)
library(tidyverse)
library(stringr)
library(vegan)
library(ape)
library(phangorn)
library(phytools)
library(geiger)
library(phylobase)
library(fields)
library(phylosignal)
library(picante)
library(geomorph)... |
9262fb086a79b7ae8300327968a3f2ffed2681d8 | f4e7f741f3e84259b264b25a831962e02d65e6a6 | /P10/tarea10.1.R | f3291ff33f6014ad8841e9d0214404e6f156d6de | [] | no_license | pejli/simulacion | 73d807942d903990af05870c357a27e73728cfec | 990e023a2be5e52289a40fea5355ae6771c3cb1e | refs/heads/master | 2021-07-17T21:05:45.726325 | 2018-12-04T06:21:44 | 2018-12-04T06:21:44 | 144,336,591 | 2 | 1 | null | null | null | null | ISO-8859-2 | R | false | false | 6,362 | r | tarea10.1.R | #LIBRERIAS
library(testit)
library(parallel)
#VARIABLES GENERALES
pm <- 0.05
rep <- 50
tmax <- 50
init<-200
#FUNCIONES
knapsack <- function(cap, peso, valor) {
n <- length(peso)
pt <- sum(peso)
assert(n == length(valor))
vt <- sum(valor)
if (pt < cap) {
return(vt)
} else {
filas... |
7c3bdee370ea083e8229bd3550d6edd371b18100 | ab3c34ea788e2d35ed22dd24b7cc8ccfbdedc381 | /R/covid19_Canada.R | c1de43f1bba99b673c1a6d4ec11728bdeff2a971 | [] | no_license | cran/covid19.analytics | bd2e2637f4287bddb4836851d0419534fe17b6f8 | 088444f644832744421d02ef4851523f879dd02d | refs/heads/master | 2023-06-24T15:02:46.793254 | 2023-05-25T06:20:09 | 2023-05-25T06:20:09 | 253,551,012 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 15,730 | r | covid19_Canada.R |
# Data acquisition fns for the "City of Toronto" and CANADA
# Part of the covid19.analytics package
#
# M.Ponce
#######################################################################
covid19.Toronto.data <- function(origin="OD", data.fmt="TS",local.data=FALSE,debrief=FALSE, OLD.fmt=FALSE, acknowledge=FALSE) {
#'... |
2bed8ec4da4be88a8fb0d3c45359a40ad2198544 | 024003232dbcda6aa8e920e5c345d0137e92d07a | /man/richards-package.Rd | 552e1a8d60217ca9aefc589bcca0760626b13a0d | [] | no_license | cran/ActuDistns | 6dc7c284c4250d909266db1407c5fb4f35569f64 | 61b9ec31d6dc6c8800351b59e5655b22812c858f | refs/heads/master | 2021-01-23T03:43:43.416428 | 2012-09-13T00:00:00 | 2012-09-13T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 850 | rd | richards-package.Rd | \name{ActuDistns-package}
\alias{ActuDistns-package}
\alias{ActuDistns}
\docType{package}
\title{
Computes functions for actuarial use
}
\description{
Computes the probability density function, hazard rate function, integrated hazard rate function and the quantile function for 44 commonly used survival models}
... |
9ef75d08293d4d494e3661a7dd68715dc31ea5ac | 78014f186b458c0dfbd4dd4dc660adfe858d4c62 | /man/COL.OLD.Rd | b11e248dfdaa73a45dcd3d1d998d23781634a7fc | [] | no_license | r-spatial/spdep | a1a8cebe6c86724bc4431afefc2ba2f06a3eb60c | a02d7aa6be8a42e62ba37d2999a35aff06a0ea59 | refs/heads/main | 2023-08-21T19:27:09.562669 | 2023-08-07T12:08:51 | 2023-08-07T12:08:51 | 109,153,369 | 109 | 30 | null | 2022-12-10T12:31:36 | 2017-11-01T16:10:35 | R | UTF-8 | R | false | false | 2,562 | rd | COL.OLD.Rd | % Copyright 2001 by Roger S. Bivand
\name{oldcol}
\alias{oldcol}
\alias{COL.OLD}
\alias{COL.nb}
%\alias{coords.OLD}
%\alias{polys.OLD}
\docType{data}
\title{Columbus OH spatial analysis data set - old numbering}
\usage{data(oldcol)}
\description{
The \code{COL.OLD} data frame has 49 rows and 22 columns. The observation... |
a5b1368cb6331700014b646f3dac9e78303a0e5b | d5b07bc99c7aa850abe61bb9ec815e8b3bfc6d61 | /QID-2426-MVAbluepullover/MVAbluepullover.r | 6c17c60d42ca52dd1a5d4681c57a5f48d4730c4c | [] | no_license | QuantLet/MVA | 2707e294c7ad735b0e562aafedfb27439c3cc81e | c8b6c94ef748af17edad1db65a77e594721aa421 | refs/heads/master | 2023-04-13T12:49:52.563437 | 2023-04-04T15:30:05 | 2023-04-04T15:30:05 | 73,212,746 | 18 | 45 | null | 2023-04-04T15:30:06 | 2016-11-08T18:00:17 | R | UTF-8 | R | false | false | 946 | r | MVAbluepullover.r |
# clear all variables
rm(list = ls(all = TRUE))
graphics.off()
#load data
blue.data = read.table("pullover.dat", header = T)
attach(blue.data)
# generating mu and S
mu = colMeans(blue.data)
mu = t(mu)
(mu = t(mu))
s.unbiased = cov(blue.data) # the result of cov(xy) is the unbiased one
# meaning n/n-1*S
(covxy =... |
d041e6045c3932ca596a19fcfde083ce2d6995ca | f9c06cd3058b1f99e8c90b38074a80c6073f0aca | /getting-and-cleaning-data-course-project/run_analysis.R | 68f44d78741f87a2d2c7a4b93a14d345abb09e51 | [] | no_license | bacton/datasciencecoursera | f56737516b7e979078dbb75094f24b95f91d6655 | 3ee7a1f6d577f8755508c254d865622f44a8855b | refs/heads/master | 2020-05-29T16:09:06.252685 | 2016-10-23T18:32:10 | 2016-10-23T18:32:10 | 59,430,647 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,394 | r | run_analysis.R |
clean_data_set <- function() {
library(data.table)
library(dplyr)
library(dtplyr)
# Read the "features.txt" file -- this contains the
# names of the variables in the ./test/X_test.txt and
# ./train/X_train.txt files
features_table <- read.table("features.txt",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.