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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4df62ca6f8a05acf202097df8931f002b05a1927 | 2b65f4d37c38539f7147496fad3026f96187eea2 | /datatextfiles/smdata.R | f39c914952cb7df74a29f15fd9515691d41324cf | [] | no_license | meenasirisha145/rinaction | b9f70007c76411bb5fad55918a9153db07af14ac | ac12afed86de156eedaf5f98223dcefa77773de9 | refs/heads/master | 2021-01-22T21:12:48.291432 | 2017-10-30T18:10:40 | 2017-10-30T18:10:40 | 100,679,599 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 466 | r | smdata.R | #importing data
data=read.csv(file=file.choose(),stringsAsFactors = F)
data
str(data)
names(data)
attach(data)
sum(data$cpp)
mean(data$cpp)
length(data$sname)
data$pdp>50
data$dob=as.Date(data$dob,format="%d-%b-%y")
str(data$dob)
x=difftime(Sys.Date(),data$dob,units="weeks")
x
(data$age=ceiling(as.numeric(x)/52.5))
hea... |
517941ef3c850328a5861683814af2e3b265e9f6 | ef4eb23543224c14f4cae67190d1f82bd881a4a4 | /IDESSA/comparison_machineLearning/additionalScripts/aggregation/compareVerificationScoresForAggregation.R | 1d1f77e3c5024ac4a0e96e6d77d5d3e02c97ccb5 | [] | no_license | environmentalinformatics-marburg/magic | 33ed410de55a1ba6ff943090207b99b1a852a3ef | b45cf66f0f9aa94c7f11e84d2c559040be0a1cfb | refs/heads/master | 2022-05-27T06:40:23.443801 | 2022-05-05T12:55:28 | 2022-05-05T12:55:28 | 9,035,494 | 6 | 7 | null | null | null | null | UTF-8 | R | false | false | 4,337 | r | compareVerificationScoresForAggregation.R | #compare verification scores for aggregation
library(proto)
library(grid)
datapath=("/media/hanna/ubt_kdata_0005/pub_rapidminer/aggregation/")
Fileslist=list.files(datapath,pattern=".Rdata",full.names=T)
Fileslist_short=list.files(datapath,full.names=F,glob2rx(c("*Rdata","day")))
source("/home/hanna/Documents/Projects/... |
36fa6477ec9f40858be7269c3c47ad718c8ac263 | 74fec5abcb297a6415a5233bce1b6b647c7cc505 | /4/1_FigS2_TAbS1_Fig3.R | e3bf39b95751da8192d3f467cdc595b7aaa30e5d | [] | no_license | GiovanniCarapezza/KING-REX | f6e311d13bdb604e86614aec7860fb0391644d58 | f06a8e0eec4da0a784b0e7846882830d24a19993 | refs/heads/master | 2020-04-21T12:46:29.726979 | 2019-02-07T15:02:41 | 2019-02-07T15:02:41 | 169,574,440 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,011 | r | 1_FigS2_TAbS1_Fig3.R | library(stringi)
library(pheatmap)
library(RColorBrewer)
#to excecute this script, you must run first script in folder 2
rm(list = ls())
#substitute your path to results
path_to_results="~/Scrivania/KING-REX data and scripts for BMC2"
#set working directory to this source file location
setwd(paste(path_to_results,"/Res... |
fa51f94c91bcc8445e238c466e429e2da3842693 | 4d2aa86f49e4525f8c03d3c8f01fbd171071c511 | /script_matrix.r | f8f2c21f1d81bde95967555f546fed0bcc5c1edc | [
"MIT"
] | permissive | armbrustlab/ssPopModel_respiration | 53b3fd349d35a4556edbdf2968d786173e63655c | 95cfc1bc2620e005cadde5bf51dd0bbb783cd56c | refs/heads/master | 2020-03-16T20:41:43.963963 | 2018-08-08T22:32:28 | 2018-08-08T22:32:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,391 | r | script_matrix.r | library(ssPopModel)
library(gplots)
#John
path.to.data <- "~/ssPopModel_sensitivity_test/ssPopModel_sensitivity_test_data"
path.to.git.repository <- "~/ssPopModel_sensitivity_test"
setwd(path.to.git.repository)
## MERGE MODEL OUTPUT (dt)
list.output <- list.files("output", "size",full.names=T)
DF <- NULL
for(path.d... |
ec8d774b205c79ecb37e4c0e75a3f24d02d57839 | 8b24d2c0f284e48e74495be11c6ba7f2bf8578aa | /global.R | 152d6b31f294d3d84c9f8ae2988ca2e86fb96228 | [] | no_license | Janzeero-PhD/Chornobyl-forest-dynamics | 792452199162b3815e57f110bf7f23774a622176 | 28900cc98508f45f3a3662a66ef6ee6fc8724139 | refs/heads/main | 2023-02-04T11:39:55.904255 | 2020-12-27T13:29:18 | 2020-12-27T13:29:18 | 319,792,995 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,680 | r | global.R | library(tidyverse)
library(raster)
library(sp)
library(shiny)
library(shinydashboard)
library(leaflet)
library(viridis)
library(rgdal)
### FOREST MASK DYNAMICS FILES
# run raster files of forest mask dynamics
Landsat.RF.2016.fact <- raster('rasters/RF_mask_2016.tif')
Landsat.RF.2006.fact <- raster('rasters... |
da1e210fed594350599024173d098adcb0624da2 | 28cee2095ea67fe87a0ad4d70ffac60a4e105717 | /Lec12_3_SVM Regression Example.R | 3674e2c933802d379bb8becf79acf75c20ae1f06 | [] | no_license | lydia126/11_R_SVM | 45c61ce24fb92aceadee9249a3e12e0e6a4da1ff | 9376750039349d86fc71db94e82fb8f29a5f89e4 | refs/heads/main | 2023-06-12T03:41:35.687057 | 2021-07-05T07:04:52 | 2021-07-05T07:04:52 | 383,046,063 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,514 | r | Lec12_3_SVM Regression Example.R |
# Required libraries
library(e1071)
library(caret)
# Load data and partition
boston = MASS::Boston
set.seed(123)
indexes = createDataPartition(boston$medv, p = .8, list = F)
train = boston[indexes, ]
test = boston[-indexes, ]
# SVM regression
model_reg... |
e64a1fff73afcb3b8c02638404a58ae3cae71079 | ba3e1a64b6a56469bb89fcb697acf5cbb51a9aca | /bigdata_ai_study/chapter_6/11.R | 30331a82f11f0ebaa1f49cc54ed1626c668a4a2b | [] | no_license | himitery/dankook | c5a2df9c989a31c4470212e7f6165ea4292f0b62 | 9f5208c7d9f2001794c67f4f27f45490ea260d4d | refs/heads/master | 2023-06-08T21:23:22.394774 | 2021-06-27T20:00:39 | 2021-06-27T20:00:39 | 330,082,010 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 228 | r | 11.R | length(unique((Orange[, "Tree"])))
data <- Orange[, c("age", "circumference")]
point <- as.numeric(Orange$Tree)
color <- c("red", "orange", "green", "blue", "pink")
plot(
data,
pch = c(point),
col = color[point]
)
|
1097d2cd619e272ad38dfe4b77700f877e5ea572 | f950be564a79a3e16db02320d555002c9f343783 | /4.2_RichardsonExtrapolation.R | f84ae22e17b979d2f9002e164e8a15981af27c0c | [] | no_license | felix-leo/math311 | 0c3c59bfe2ef44897ac2bcf9c027ae9a9d9332e2 | d3345b8c00338c73cabf402baff012f01a340848 | refs/heads/master | 2020-05-03T08:27:25.930800 | 2019-05-02T21:08:15 | 2019-05-02T21:08:15 | 178,526,937 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 910 | r | 4.2_RichardsonExtrapolation.R | ############################################################################
# this is formula works for the even power of h.
# which is O^(2j)
############################################################################
richardson = function (x0, h, f, n) {
options(digits=12)
# Three Point Central Difference (E... |
0d2f038e8c15b2693334da10504cfcdf4280c990 | 95757c0b14be3bdacbea624e1cecd93a3aed926d | /man/find_incomplete_censuses.Rd | 07bacbb72984f2c06908aa628904d8e6b030fb45 | [
"MIT"
] | permissive | emchristensen/portalr | f21a815af8c34c2d9c323aa6473c33e81fed3c33 | 50ac5db9ba493c13555f27263b2c67e7e87f7ee6 | refs/heads/master | 2021-07-24T21:41:41.572332 | 2018-10-06T23:28:41 | 2018-10-06T23:28:41 | 107,721,556 | 0 | 0 | MIT | 2018-07-13T18:14:25 | 2017-10-20T20:06:43 | R | UTF-8 | R | false | true | 747 | rd | find_incomplete_censuses.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_processing.R
\name{find_incomplete_censuses}
\alias{find_incomplete_censuses}
\title{Period code for incomplete censuses}
\usage{
find_incomplete_censuses(trapping_table, min_plots, min_traps)
}
\arguments{
\item{trapping_table}{Data tab... |
3628f12a84f8e26c39540712f6fe908050832274 | 1fbce482fa0cd8117e0a80e38323c5eb5f67ca7a | /R/annoByGene.R | 49a92942c2f3f78b2ccddd470b5eaa2b5a794d8d | [] | no_license | bioinfo16/RIPAT | adf1ef88a37e033d3b4961272d8846370bb685c4 | 4e736b60e9bc2695a67ba13e9a50ed56c9c4d38a | refs/heads/master | 2021-02-06T21:47:10.233559 | 2020-10-13T06:09:25 | 2020-10-13T06:09:25 | 243,133,840 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,732 | r | annoByGene.R | #' @title Annotate integration sites by genes and TSSs.
#'
#' @description
#' Annotate vector integration sites by gene data.
#'
#' @usage
#' annoByGene(hits, ran_hits = NULL,
#' mapTool = 'blast',
#' organism = 'GRCh37',
#' interval = 5000,
#' range = c(-20000, ... |
65234f76fb0d80abd0f16d44d6309e587c673777 | 1a54b7ce5ee44d81f6f4caa0f688cdd864144f48 | /MBA-ECaaP/Rscript/Market_Basket_Analysis.R | 74e416889fb432bd8598465a180f59870326a0af | [] | no_license | ahyeek/atoz-dev | c7de53f621d99d1432595e09cd0508bb3b192923 | 4142ad6d5eb117de6a00b6d714ec1df5dced63f2 | refs/heads/master | 2020-03-24T00:51:24.154925 | 2018-08-26T06:22:47 | 2018-08-26T06:22:47 | 142,311,321 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,742 | r | Market_Basket_Analysis.R | #install.packages("arules")
#install.packages("arulesViz")
#install.packages("plyr", dependencies = TRUE)
# Load the libraries
library(arules)
library(arulesViz)
library(plyr)
# Import product Data by month
df_monthly <- read.csv("14-Jun_prod.csv")
str(df_monthly)
# Data can't be easily converted to string, so have... |
01c504d02c9bf6f1c342e528c3f782fd621deabf | 6f1a492fce742c33d7f6c5ad377c6f771418496a | /insurance_prediction/insurance_linear_regression.R | a83c8ec2049012f3d46e4e92838209277061b769 | [] | no_license | Reet1992/Linear_Regression-problems | 6632cd6843aa60fbc7948de758cc8e45f2d22a32 | 8c6695f26f79a95061c32fda2120f156b1b95491 | refs/heads/master | 2021-07-14T19:37:45.662968 | 2020-10-25T12:08:56 | 2020-10-25T12:08:56 | 219,558,679 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,640 | r | insurance_linear_regression.R | setwd("E:/R_Datasets/")
df <- read.csv(file = 'insurance.csv')
head(df)
df$smoker <- as.numeric(df$smoker)
df$region <- as.numeric(df$region)
df$age <- as.numeric(df$age)
df$children <- as.numeric(df$children)
df_new <- df
df2 <- df_new[ -c(2) ]
df2$bmi <- df2$bmi - mean(df2$bmi)
#### Correlatio... |
a4f4122ddbb807def4c91a35ef2ed5c6c9f42ca7 | 379b340f7c20203f133a9ff69ccaa87fafba3083 | /scripts/Figs_2c_4b_5b_recruitment_projection.R | de0e09af1747cab700f4a3b04a06f45b4bfaca5c | [
"CC0-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | mikelitzow/fish-FAR | 74a0aca31780c17450128f450a0ccbdd5be4bd77 | de1ff085152716e1288852a4227f3ff4d3982b78 | refs/heads/main | 2023-04-18T00:24:12.937219 | 2021-09-29T00:01:20 | 2021-09-29T00:01:20 | 321,418,403 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,790 | r | Figs_2c_4b_5b_recruitment_projection.R | ## predict the response of cod and pollock recruitment to FAR values
## in the observational record and for CMIP projections
## FAR-modeled recruitment fit for cod is Fig. 2c
## FAR-modeled recruitment fit for pollock is Fig. 4b
## predictions for both spp. conditioned on CMIP projections is Fig. 5b
library(rstan)
lib... |
2c28fdb4e81272456e6d0441942820ad0c038aea | f89c50f72976d4dea4e068bdfa3b61e2b4d1e5f1 | /R_analyses/Homelessness and Housing/2_Join-PUMS_Cut-Percentiles.R | a679ec39e58807ffc90537ecc22ffe9c03f5abc9 | [
"MIT"
] | permissive | ahla-brfoley/abundanthousingla | 5e48ef959531b3347dec1964b62699055fb9239c | d4f6d7c44a8633a83251af80a156a07654b78609 | refs/heads/master | 2021-03-10T09:08:00.356810 | 2020-08-12T18:52:13 | 2020-08-12T18:52:13 | 246,441,489 | 0 | 0 | MIT | 2020-05-15T18:56:50 | 2020-03-11T00:56:14 | Rebol | UTF-8 | R | false | false | 2,213 | r | 2_Join-PUMS_Cut-Percentiles.R | library(plyr)
library (data.table)
library(dplyr)
library(Hmisc)
files <- list.files(pattern="*.csv")
#this function takes microdata files named [Year].csv and adds the year as a column
read_csv_w_year <- function(x) {
out <- read.csv(x)
yr <- as.numeric(str_extract(x, "[A-Za-z0-9]{4}"))
cbind(year=yr, out)
}
... |
0e845624f3e26f37eb320314d0b8a562be8ff7c5 | 56b32941415e9abe063d6e52754b665bf95c8d6a | /R-Portable/App/R-Portable/library/rjson/unittests/test.list.r | 85482eee081edd647ce54a31bc07ba3ec8138060 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only"
] | permissive | voltek62/seo-viz-install | 37ed82a014fc36e192d9a5e5aed7bd45327c8ff3 | e7c63f4e2e4acebc1556912887ecd6a12b4458a0 | refs/heads/master | 2020-05-23T08:59:32.933837 | 2017-03-12T22:00:01 | 2017-03-12T22:00:01 | 84,758,190 | 1 | 0 | MIT | 2019-10-13T20:51:49 | 2017-03-12T21:20:14 | C++ | UTF-8 | R | false | false | 1,101 | r | test.list.r | .setUp <- function() {}
.tearDown <- function() {}
test.list <- function()
{
json <- "{}"
x <- fromJSON( json )
checkIdentical( x, list() )
failing_json <- c( "{", "{a:5}", "{\"a:5}", "{\"a\":", "{\"a\":5", "{\"a\":}", "{123:false}", "{\"a\":unquoted}" )
for( bad_json in failing_json ) {
x <- try( fromJSON( ba... |
cf65c96166dec1bbbe7117065c94cd84bd67fde7 | db4521bb6991d88738ebf2e72b875abb8b3886b1 | /dinucleotides.R | 6cafe12199cf8769cc3fc5e98b56ad95031c618e | [] | no_license | Hashem72/Some_R_Codes | 5692e282a8ba9a0e673beb75f8a9a76f6a416353 | 6cc938fa4b97a3eb34245ecc68d13dd4bf2ee8fa | refs/heads/master | 2020-12-24T13:18:10.456066 | 2013-08-13T14:25:21 | 2013-08-13T14:25:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,213 | r | dinucleotides.R | get.dinucleotide.frequencies <- function(dinucloetide.Freq.File, dinucleotide.Freq.Random.Tags.File){
results = list()
freq.From.Real.Tags = read.table(file = dinucloetide.Freq.File)
freq.Frome.Random.Tags = read.table(file = dinucleotide.Freq.Random.Tags.File)
results$real = freq.From.Real.Tags
result... |
2c1bd51dd26155db9b8ddeac49b86322f58ed9de | 2d44d0b3d4beedbf4169438d0c577edf339b3952 | /vardisc/ui.R | b771230555c2724a03fdb761677c6b6b064f9178 | [] | no_license | joseanglez/Shinyapps | 473dbb4178e698f2987ffc075b9c977692a3c69a | 6b3cc0a085ec5d688edca88151d26f0405dbb22d | refs/heads/master | 2019-08-23T21:36:16.334174 | 2018-01-10T11:57:26 | 2018-01-10T11:57:26 | 116,840,659 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,371 | r | ui.R | Sys.setlocale("LC_ALL", "es_ES.UTF-8") #to be sure that accents in text will be allowed in plots
library(shiny)
source('../credit.r')
# Define UI for slider demo application
shinyUI(fluidPage(h3(textOutput("titulo")),
absolutePanel(
top = 0, right = 0, width=80,
fluidRow(actionButton("eng", img(sr... |
71b9c9f7bc0fa6e154886bcebd39f138c84f8694 | d72ddca638703a741bc03182f7ed740a230785b8 | /plot4.R | 075769bf73e4af4675417055e8287479b35db31b | [] | no_license | mmartinez2176/ExploratoryDataAnalysisProj2 | c653ce718b011b1bc51670b0c1e13b2f8e669fc1 | 2984afda5a27070bb30537e58f19e3e4cfaa3a11 | refs/heads/master | 2021-01-10T06:43:47.275382 | 2016-03-27T03:58:01 | 2016-03-27T03:58:01 | 54,810,211 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,762 | r | plot4.R | #######################################
# Exploratory Data Analysis
# Project 2
# Author Martin Martinez
# This R Script contains the resolution for the Exploratory Data Analysis
# This script is broken into smaller section
#######################################
## Section A. load Library
library(data.table)
librar... |
5f243b31cd822421c8398787e1ca7a4f841e2b84 | db6e0fc29d4e1cf3a888571ae48488cad6fb3f26 | /man/addOpacitySlider.Rd | a7c1b8f119cf09cce2c6a0f938001f935a059aa5 | [] | no_license | cran/leaflet.opacity | 412275fccca09cb6254d4d7649abc6fe93c7e343 | a83f3a5ece9288ed4c5078ff0f8b123e48897505 | refs/heads/master | 2020-04-08T20:17:12.276520 | 2018-11-29T15:00:10 | 2018-11-29T15:00:10 | 159,692,421 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 850 | rd | addOpacitySlider.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/controls.R
\name{addOpacitySlider}
\alias{addOpacitySlider}
\title{Add opacity slider control to map}
\usage{
addOpacitySlider(map, layerId)
}
\arguments{
\item{map}{Leaflet map}
\item{layerId}{Opacity layer}
}
\description{
Ad... |
a7fd8518852519dff7a7d90b03a975321a8a7bc6 | 476d21edd227c3af80fc490b9b109e9574000714 | /code/global/import_data.R | 7d1e7fe8e006c32e6aba02b1f25b0340280e06e1 | [] | no_license | leeshu-rt/DroughtOps_beta | e2c865587be9c3122aefb041d773e3ac6270bce4 | f225d18984dd8bf61ab2b8ae5354256d75fa6d72 | refs/heads/main | 2023-08-17T05:45:36.708749 | 2021-09-16T20:13:16 | 2021-09-16T20:13:16 | 407,278,159 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 37,311 | r | import_data.R | # *****************************************************************************
# DESCRIPTION
# *****************************************************************************
# This script is run by global.R
# It imports time series (ts) data.
# The path to the local files with time series data is defined in global.R
# ... |
478de2c109f400b2ef85b678e1a458dfe34edc43 | 6b7286e14b3830fd9cbe57bd49056a68babab052 | /normalityTest.R | 6c9cd023b162bfbc10fb025fe398b47e497b6263 | [] | no_license | briannoogin/Neural-Network-Science-Fair-Research | 2c450b9889b8a1517db7ea6f6150cd0c93b30f8c | 8232bc6abea8d670736ac2d0d21d04fb10842694 | refs/heads/master | 2021-09-14T19:26:14.727054 | 2018-05-17T22:59:17 | 2018-05-17T22:59:17 | 67,271,686 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,796 | r | normalityTest.R | mardiaTest <-
function (data, cov = TRUE, qqplot = FALSE)
{
dataframe=as.data.frame(data)
dname <- deparse(substitute(data))
data <- as.matrix(data)
n <- dim(data)[1]
p <- dim(data)[2]
data.org <- data
data <- scale(data, scale = FALSE)
if (cov) {
S <- ((n - 1)/n) * cov(data)
... |
cb2dbad79803a0c2cb1905c48ddae5bf9fd85436 | 36853a83c9c333787682d1c1d585a2bb08c3c725 | /ROI/Distance_To_Cortex.R | daed01bde1af19e64615d12b0b80d563d8e741ca | [] | no_license | muschellij2/CT_Pipeline | ea075a40ac0799b7a9ea2efe3b60f16e70a346cc | 9bf95e6f62bfd4d61a1084ed66d2af4155641dc2 | refs/heads/master | 2021-01-22T02:39:51.559886 | 2019-09-04T19:48:00 | 2019-09-04T19:48:00 | 11,985,496 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,458 | r | Distance_To_Cortex.R | #################################
# Regressions with % of ROI
# Author: John Muschelli
#################################
rm(list=ls())
library(oro.nifti)
library(plyr)
library(scales)
library(RColorBrewer)
library(data.table)
library(cttools)
library(fslr)
library(ggplot2)
library(grid)
library(data.table)
homedir = "/... |
95f4e68bebcce17a3be595529e9511dc5224ee9f | f9c1b6c61da4f75fd3eb9cf5c778372c0bd72b6e | /02extractGroundByPmfExample.R | 10197db2287393cf731833e273a69e7667ce08e3 | [] | no_license | caiohamamura/salca_processing_R | 1435f20cb1db8b5d4e64d66f08a51f12cf140cd3 | cf10591ea6811f50ecb36de37bb090c2f9dc4f76 | refs/heads/master | 2020-09-21T22:06:05.423659 | 2019-11-30T02:35:06 | 2019-11-30T02:35:06 | 224,948,870 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 850 | r | 02extractGroundByPmfExample.R | if(! require("pacman")){
install.packages("pacman")
}
p_load("lidR", "doParallel")
# Load point cloud
if (Sys.info()[["sysname"]] == "Windows") {
setwd("U:/Datastore/CSCE/geos/groups/3d_env/data/visitors/2019.caio_hamamura/R/catalog")
} else {
setwd("~/myspace/R/catalog")
}
outPath = file.path(... |
932342bee47bd06a140d7531c87f1415d15fae72 | c0cfaa038f1fd21835d947f2fc39fcb42ea3eab2 | /CryptoShiny/tests/testthat/test-Tsp_data.R | 96432cd6855dda27bfd6fa850ba29a233d579aef | [
"MIT"
] | permissive | fernandopf/ThinkRProject | 8a9c2ecbeb8a5634fdbb9ae6ca4a561187460d23 | 81f6ece8b1ff60c80209b2bd4360c030df439af7 | refs/heads/master | 2020-04-02T14:26:28.223749 | 2018-12-14T19:01:12 | 2018-12-14T19:01:12 | 154,524,744 | 2 | 3 | null | 2018-11-28T15:29:48 | 2018-10-24T15:27:38 | null | UTF-8 | R | false | false | 290 | r | test-Tsp_data.R |
test_that("Type of elements dataset:", {
skip_if_not(curl::has_internet(), message = "no internet")
datasetToTest <- Tsp_data(round(as.numeric(as.POSIXct(Sys.time(), format="%Y/%m/%d"))))
expect_is(datasetToTest$time, "integer")
expect_is(datasetToTest$body, "factor")
})
|
13f8269afb03ad2344c2063d7fde413b0823ec79 | e36529495a25c8dd13099a7a5d138e9e9f44add0 | /R/rectangle.gate.R | 5e17f8937694f074a6a6fa87e5757c247567aec1 | [] | no_license | sheng-liu/SeqViz | 911ba3a49b153cd142d4e7685adfc6a96d7f4ca9 | a4edd8d35226b18a1bde61bf14adafcb8d4978b3 | refs/heads/master | 2020-12-24T16:08:08.131651 | 2015-01-04T07:23:45 | 2015-01-04T07:23:45 | 27,841,414 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,713 | r | rectangle.gate.R | ## rectangle gate is also on mouse move
rectangle.gate=function(action,window){
print("Rectangel Gate")
select.channels()
##--------------------------------------------------------------------------
## mouse events
#xWindow=X11()
x11(width=4,height=4)
plot.new()
... |
91b05548c2c417b591ef600b66eb45eb654ad18d | bc6fc11685a58ac09ae8cfc286ec3eee68729324 | /010-rbase-two-days/output/purl/54-presenting.R | 6826abf4ff81b87d9040b8a95ab09cc79597d3d2 | [] | no_license | quantide/qtraining | 2803fe93446931c43b70ecd7ed644f01c79ece85 | 846043fcc8207da7b5dbf5bd9a7d4b94111d5132 | refs/heads/master | 2021-09-15T10:57:47.797783 | 2018-05-30T09:13:43 | 2018-05-30T09:13:43 | 56,151,061 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,761 | r | 54-presenting.R | ## ----first, include=TRUE, purl=TRUE, message=FALSE-----------------------
require(dplyr)
require(ggplot2)
require(qdata)
data(bands)
## ----presenting_gridArrange, message=FALSE, warning=FALSE----------------
gp0 <- ggplot(data=bands, aes(x=press_type, y=ink_pct)) +
geom_boxplot(fill="#3690c0") +
ylab("Continuo... |
90eb82a8233cc5d1dcea2c2a4418a7f8a45c4afe | 6a21a808a668533db92472b1e1adbe59dd37517e | /R/dev/tripDevel.R | 5ccb88499517864f4c14f0b55f9766c5e34e4f9a | [] | no_license | mdsumner/mdsutils | 7198548e9059750a026a102409b8c88e3b39e7ea | f162246b5944050853ecb991e545eae7e3b833d2 | refs/heads/master | 2021-01-19T05:57:32.736249 | 2018-01-22T21:08:27 | 2018-01-22T21:08:27 | 11,871,571 | 2 | 1 | null | 2018-01-22T21:08:28 | 2013-08-04T00:34:16 | R | UTF-8 | R | false | false | 11,803 | r | tripDevel.R |
#setClass("trip", contains = c("TimeOrderedRecords", "SpatialPointsDataFrame"))
setClass("trip", contains = "SpatialPointsDataFrame")
validtordata <- function(object) {
if (!is(object@data, "data.frame"))
stop("only data frames supported for data slots")
coords <- coordinates(object)
if (dim(coor... |
a8f3fc819405db0a473c1b136de4c7820e66aa41 | 10d70e74a76627e40671c013887099c3f99ffbd4 | /R/StabilityChangesByLinearRegression.R | e40f4f17b8fdf81148dd38ad4c635a7f779ea296 | [] | no_license | sethiyap/FungalTranscriptStability | 5d1224c5efc3802bcb559c2875fc2549614ee969 | 16dc0c8a4c8a6f7d96991fe0ed81870ddb2d7cf2 | refs/heads/master | 2023-02-12T08:41:23.250096 | 2021-01-13T13:43:31 | 2021-01-13T13:43:31 | 284,257,832 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,988 | r | StabilityChangesByLinearRegression.R |
tbl_rna <- readr::read_delim(pipe("pbpaste"), delim="\t", col_names = TRUE)
tbl_pol2 <- readr::read_delim(pipe("pbpaste"), delim="\t", col_names = TRUE)
StabilityChangesByLinearRegression <- function(tbl_rna, tbl_pol2, plot_label="sample"){
column1 <- tbl_rna %>% colnames() %>% .[1]
tbl_rna <- tbl_rna %>%
... |
0343dd195a0de568d6f7e5dc7e8cf32040ffc108 | 7bfb89889de933a645435b664fa343abad2e17e8 | /man/prepare_priors_and_scores.Rd | 43f4af455450701c28d5bb92cd1b85cc0e5098b0 | [
"MIT"
] | permissive | iiasa/mapspam2globiom | ab4d49c0e02e36c96c2df1531c13c2381ea40d9c | e8680fbd5d94b698a96e1a76d00fe6d9cd99f5f5 | refs/heads/master | 2023-06-05T20:20:21.249753 | 2021-06-23T08:06:21 | 2021-06-23T08:06:21 | 245,864,011 | 3 | 2 | null | null | null | null | UTF-8 | R | false | true | 386 | rd | prepare_priors_and_scores.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prepare_priors_and_scores.R
\name{prepare_priors_and_scores}
\alias{prepare_priors_and_scores}
\title{Prepares priors and scores for all farming systems, crops and grid cells}
\usage{
prepare_priors_and_scores(param)
}
\description{
Prepares ... |
a1d3ccd3bbd2cbe642605cf5aab47e8a30c2880d | 2a3ede958b2987423fb97d10c3d8a0d81be2b52e | /R/saveRawVms.R | 4ff08d6ab071817520f813bdaa1ba86912f5ba60 | [] | no_license | vmsbase/R-vmsbase | b4b5db3de1d4e2f0c8095294016eba8e2d4c7caa | 08b632c626e98ee13299d205ac080a204b1c4af2 | refs/heads/master | 2021-01-18T21:48:43.567092 | 2020-05-15T07:48:50 | 2020-05-15T07:48:50 | 15,307,509 | 3 | 6 | null | null | null | null | UTF-8 | R | false | false | 14,314 | r | saveRawVms.R |
#' Raw VMS editing function
#'
#' \code{saveRawVms} implements the routines that converts raw values
#' to standard data.
#'
#' @param rawfile The raw VMS dataset.
#' @param widget The widget list that contains the editing infos.
#'
#' @return The function returns the standardized VMS data.
#'
#' @us... |
050709895ebcd5b9500f7377b5615bab0ba4b427 | 612142888df00ae67f0d537028da5656ca8b7b47 | /man/nki7g.Rd | 0c58b5ee4e4ba8bc5aa0b937d8339306d5597024 | [] | no_license | bhklab/survcomp | 9241f71cdf1e51011988a85b54d7084a5e9283b0 | 3dada4303665b0816f6b5198cadd96cde7e53943 | refs/heads/master | 2022-03-22T16:38:34.391885 | 2021-12-14T19:29:21 | 2021-12-14T19:29:21 | 1,322,184 | 2 | 8 | null | 2022-03-09T22:25:41 | 2011-02-02T22:32:03 | C++ | UTF-8 | R | false | false | 2,879 | rd | nki7g.Rd | \name{nki7g}
\alias{nki7g}
\docType{data}
\title{Subset of NKI dataset containing gene expression, annotations and clinical data.}
\description{
This dataset contains a subset of the gene expression, annotations and clinical data from the NKI datasets (see section details). The subset contains the seven genes intr... |
291a2ca33b011dadce4efb2cae2c6daeee4670fe | 7afbb148ec11b3105aaead6bdd900f847e49eb18 | /tests/testthat/test-poly.R | 65727bc738f59a8d199f178c94b373537c4ed51d | [
"MIT"
] | permissive | tidymodels/recipes | 88135cc131b4ff538a670d956cf6622fa8440639 | eb12d1818397ad8780fdfd13ea14d0839fbb44bd | refs/heads/main | 2023-08-15T18:12:46.038289 | 2023-08-11T12:32:05 | 2023-08-11T12:32:05 | 76,614,863 | 383 | 123 | NOASSERTION | 2023-08-26T13:43:51 | 2016-12-16T02:40:24 | R | UTF-8 | R | false | false | 6,272 | r | test-poly.R | library(testthat)
library(recipes)
skip_if_not_installed("modeldata")
data(biomass, package = "modeldata")
biomass_tr <- biomass[biomass$dataset == "Training", ]
biomass_te <- biomass[biomass$dataset == "Testing", ]
rec <- recipe(HHV ~ carbon + hydrogen + oxygen + nitrogen + sulfur,
data = biomass_tr
)
test_that(... |
6ae77123a799702036dc443c51fdfdac553929ad | 17064425f85aa3d26d5c755851baf3d73f141c9f | /rcode/Hypercubes.R | 5e0b0b5a4dd72e0865e88c884552b2d5ce6c921b | [] | no_license | coco90417/PM520 | 2a56dab0745a6b9a88e533aaa699894a69b347ff | 0fbcd89748bcca2cd0abc1106bd01f2a094db263 | refs/heads/master | 2021-01-21T21:43:00.677594 | 2016-04-17T19:44:35 | 2016-04-17T19:44:35 | 56,454,512 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,682 | r | Hypercubes.R | set.seed(329878) # set the seed for the random number generator to any number you like
NumberOfTrials<-50000
TotalCountNearSurface<-numeric()
MaxNumberOfDimensions<-10 # we will go up to this many dimensions
HowManyCloseToSurface<-0 # A variable to record how often the point is close to the surface
for (j in 1:MaxNum... |
84e7a14659adc0e43a7a234b8b5889677996df29 | 287add902a548b978254b03f571f5e127d325e88 | /R/moreLibs_m.R | 53e57a01072ea5142a6579ac486f6afe9d400629 | [] | no_license | Auburngrads/publicLibs | e36884552220fcf859d28ef5cc16d26baeb23f65 | 804efbb6bc80f5053712e375a09d2d46ce2f61a6 | refs/heads/master | 2021-01-17T02:44:58.943620 | 2020-07-20T00:32:03 | 2020-07-20T00:32:03 | 58,672,156 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,133 | r | moreLibs_m.R | #' Get the url for each state on public-libraries.org
#' @import datasets
#' @importFrom httr GET content
#' @importFrom XML htmlTreeParse xpathSApply xmlValue
#' @param state Character string for state name or two-letter abbreviation
state_lib_urls <- function(url = 'http://www.public-libraries.org/') {
# Parse HTML... |
fea17b1e920f5f440988b19bb63b0e42c7aae3a0 | ff005c8dbf2731fe08de8577dccb306b0eb01590 | /movie_critics/moduleChangeTheme.R | c87482b7f8ed0085a773b869f3cf112f14fe3ecf | [
"Apache-2.0"
] | permissive | tim-heuwinkel/r-visualizations | 706065409448a5fa579795a7591c5353a5dfeb39 | 53439ffdf5c9ca7c77e873ce214e0a8d1f23b223 | refs/heads/main | 2023-07-31T18:16:29.984495 | 2021-09-11T23:27:46 | 2021-09-11T23:27:46 | 393,496,475 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,126 | r | moduleChangeTheme.R | library(dashboardthemes)
library(shiny)
library(shinydashboard)
# Code below taken from: https://github.com/nik01010/dashboardThemeSwitcher
# Ui functions ------------------------------------------------------------
uiChangeThemeDropdown <- function(dropDownLabel = "Change Theme", defaultTheme = "grey_dark")
{
chan... |
9817723555d710e52bcdc04d031564883408dac3 | c508332ca0b0f2c8c02ae1cf83ccf34b8e08c9d4 | /GameDay2/helpers.R | 3efbc30a12562cb3a4270bb4734af5219f289da6 | [] | no_license | dnordgren/KiattenMittons | 5d9d932ef91a85bc150bc57b0288c29d4b553fb3 | 647462f0f39fa1d39d7664d4006a0112b7bc6ad6 | refs/heads/master | 2021-03-27T15:43:10.102770 | 2015-04-28T00:44:23 | 2015-04-28T00:44:23 | 30,683,866 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 706 | r | helpers.R | library(data.table)
library(xlsx)
get_data <- (function() {
source('app_config.R', local = T)
data_dir <- get_config('data_dir')
function(fname, rank_flip=F) {
vote_data <- fread(paste0(data_dir, '/', fname))
if(rank_flip) {
vote_cols <- colnames(vote_data)[-1]
n <- nrow(vote_data)
vote_data[,(vote_... |
5cf72921c29a70268c75762e3760a55743757f2e | 9157f22cbe21c896b7a69d74504f70ea6e365305 | /man/buy.Rd | c2b40514c16bd7c56bd3af7b8f65a9f179d910b4 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | weigao10/keyboardpadpls | e746872a73afa429e5907851e87b63fd8d3f47c1 | 48b8fd885120c9ea000f11c96260cbce3bac638d | refs/heads/master | 2023-03-17T14:53:44.525443 | 2020-08-11T23:53:57 | 2020-08-11T23:53:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 890 | rd | buy.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nom.R
\name{buy}
\alias{buy}
\title{Click the earliest available time}
\usage{
buy(n_tries = 100, timeout_after = 30 * 60, end_earlier = TRUE, sleep_time = 1)
}
\arguments{
\item{n_tries}{Number of times to try refreshing before giving up.}
... |
48c70d490ee9987135573e6fbf661c430ca423fd | 9bdef83f28b070321ba27709d2c7ec028474b5c3 | /R/visualization/plot3D.R | 4b4d12037d26a981c3b6edb4815baae3638bad48 | [] | no_license | antagomir/scripts | 8e39ce00521792aca1a8169bfda0fc744d78c285 | c0833f15c9ae35b1fd8b215e050d51475862846f | refs/heads/master | 2023-08-10T13:33:30.093782 | 2023-05-29T08:19:56 | 2023-05-29T08:19:56 | 7,307,443 | 10 | 15 | null | 2023-07-19T12:36:45 | 2012-12-24T13:17:03 | HTML | UTF-8 | R | false | false | 1,016 | r | plot3D.R | #https://stat.ethz.ch/pipermail/r-help/2008-May/161202.html
rgl.plot3d<-function(z, x, y, cols="red",axes=T,new=T)
{xr<-range(x)
x01<-(x-xr[1])/(xr[2]-xr[1])
yr<-range(y)
y01<-(y-yr[1])/(yr[2]-yr[1])
zr<-range(z)
z01<-(z-zr[1])/(zr[2]-zr[1])
if(new) rgl.clear()
if(axes)
{xlab<-pretty(x)
ylab<-pretty(y)
zlab<-pretty... |
889112f318e81e1b90d78857cd6298f67c3f4175 | 7756510ce32073ce2ba906ee12b6d93b7383f475 | /WindRose - FsaB.R | 5f524b8c454e348fd760b4ac74cc9638fc04693e | [] | no_license | stringstar315/EPD_R | 313bda5e1e8c890c2b02d1fb8a245a3e1635813e | f06e32dcb7ec086f198eddd98975227394b7e909 | refs/heads/master | 2021-01-18T18:17:57.772178 | 2016-09-19T10:05:29 | 2016-09-19T10:05:29 | 61,719,526 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,306 | r | WindRose - FsaB.R | ## plot and compared the windRose of SO2
## 1. 2014.7 to 2015.6
## 2. 2015.7 to 2016.6
airYear = 2014:2016
pollutant.pick = c("date", "site", "so2_ug")
logEnable = T
source('default.R')
wStation.pick = c("GI")
w1 = LoadWind(dir_Wind, dir_Master, 2011:2016, wStation.pick)
## Match airData and AQHIdata and windDat... |
16905c97357623c00fd941534b3743c9747f0b0f | 3ff0771c80378e261b9f58f9dcefb3b8b892b253 | /man/pseudoLog10.Rd | eeb7ddc3c586c9343899e095d6622b9fcacfd50d | [] | no_license | const-ae/proDD_old | 4f008542b7aeeca8ec05f0c6f14abe4ecc50a813 | 4176aea1b337d46299cddd5f5e38cc9642e171f8 | refs/heads/master | 2021-08-16T22:06:09.033883 | 2017-11-20T11:23:11 | 2017-11-20T11:23:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 618 | rd | pseudoLog10.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helper_functions.R
\name{pseudoLog10}
\alias{pseudoLog10}
\title{Function that will be transformed with a function
that is very close to log10 for values between 1-infinity, but has
the feature that pseudoLog10(0) = 0 and pseudoLog10(- x) ... |
65d024461bb6e21ef80f647b3ae4824b49d471a2 | 8853ae897c2737ca95401f215ba9b8d505c81b0a | /project/code/analysis/messingaround_tm.R | b1097995d6ae86f7f02e02675dbc93731df8e327 | [
"BSD-2-Clause"
] | permissive | cycomachead/info290 | fe563cb9b12f477c1176b68fa11d778893c993c1 | 694361cfa755daec24c773e15d5bc965411d4caf | refs/heads/master | 2020-07-04T15:22:00.330663 | 2015-05-14T12:27:24 | 2015-05-14T12:27:24 | 30,524,205 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,614 | r | messingaround_tm.R | library('topicmodels')
library('tm')
library('SnowballC')
data("AssociatedPress", package = "topicmodels")
ctm <- CTM(AssociatedPress[1:20,], k = 2)
AssociatedPress[1:20,]
class (topic.model)
load(file.path(input, all.beers.names.only[1]))
current.words.l8 <- Reduce(function(agg, df) union(agg, df$word[df$count > 1]... |
8e8a12952b357f76e4c37d6d7f4c34301b08c5ac | adae033f51b175132ddb350b136b0636b54159b2 | /plot4.R | 7adc08a5820bc7d04f1a6abd81dd4a0b515c482a | [] | no_license | jvondie/ExData_Plotting1 | cc29e8d5729fc7e8171523ae38fefed4e58f924d | 4b1853ba4f89921740e459fbb34dd40b8e88f3b0 | refs/heads/master | 2020-12-26T03:00:00.347597 | 2016-03-14T20:35:03 | 2016-03-14T20:35:03 | 53,168,233 | 0 | 0 | null | 2016-03-04T22:00:17 | 2016-03-04T22:00:17 | null | UTF-8 | R | false | false | 1,567 | r | plot4.R | if(!file.exists("household_power_consumption.txt")) {
temp <- tempfile()
download.file("http://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",temp)
file <- unzip(temp)
unlink(temp)
}
HHPWR <- read.table("household_power_consumption.txt", sep=";", h... |
ec4a8a93f619de5bf816f0b9f1d46c1f93f94379 | da725622bc962b639e1eb6df535b433e4366bcc5 | /shinyOccupationAndEducation/ui.R | 500aecfa98f57ba69d2465aae3f8e38e340c4d83 | [] | no_license | bekahdevore/rKW | 5649a24e803b88aa51a3e64020b232a23bd459fa | 970dcf8dc93d4ec0e5e6a79552e27ddc0f850b91 | refs/heads/master | 2020-04-15T12:41:49.567456 | 2017-07-25T16:29:31 | 2017-07-25T16:29:31 | 63,880,311 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 421 | r | ui.R |
# This is the user-interface definition of a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com
#
library(shiny)
shinyUI(fluidPage(
# Application title
titlePanel("Occupation and Education Louisville MSA"),
# Show a plot of... |
e30ba71390dbfd0dbb769ca7519c4809515a1942 | 0f0c82255b1fe732c2fccdf5d0132c7b6d13603b | /plot3.R | 0797d041906955a3526daf1b2862e083a608a767 | [] | no_license | dutchminator/ExData_Plotting1 | 833637532c674e4f7610565bb105791af84ca55a | e1b3ecd61357aef46222338b64424c1debb12c2a | refs/heads/master | 2021-01-12T12:32:40.584602 | 2016-11-01T15:53:52 | 2016-11-01T15:53:52 | 72,544,217 | 0 | 0 | null | 2016-11-01T14:30:08 | 2016-11-01T14:30:08 | null | UTF-8 | R | false | false | 1,408 | r | plot3.R | ### Preparation
setwd("~/ExploratoryDataAnalysis/Exploratory Data Analysis/Week 1")
library(dplyr)
library(lubridate)
### 0. Properly read the source files
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(url, destfile = "Dataset.zip")
unzip("Dataset.zip")
... |
fa363cf5d25673abc224de01c63b0402f30adfc4 | 260a135f52304bd38e787ac89da3caad9ebbbb30 | /tests/test-transpose.R | bb5b910dab2386afc8982b82d0a0ecde493bd81f | [] | no_license | bryanyang0528/FeatureHashing | 1acc0cc02b5a6646b50aa2628d099292fd6b09a8 | 86d13a65279f337007ea0552c6b91dc808d57099 | refs/heads/master | 2021-01-16T22:39:08.515892 | 2015-02-07T16:45:47 | 2015-02-07T16:45:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 347 | r | test-transpose.R | if (require(RUnit)) {
library(methods)
library(FeatureHashing)
m1 <- as(hashed.model.matrix(~ ., CO2, 2^5), "dgCMatrix")
m2 <- as(hashed.model.matrix(~ ., CO2, 2^5, F), "dgCMatrix")
m1.1 <- as(m1, "matrix")
m2.1 <- as(m2, "matrix")
checkTrue(all(t(m1.1) == m2.1),
"The transpose argument pro... |
db32a2a4c440ac99fda441209345cf163f4ac7aa | a1e0d63b32fc0c8ffed6beb6f9b9bb84ca72849f | /R/sizelimit_route.R | 9730d9001fafc6ab1ed74d54df13424c06c6a76e | [] | no_license | cran/routr | bdb84c9c56fa6546debbb98061f08fc1f9bdc2fb | c828c7b2eeecdd424ffb75847c785389f23d77aa | refs/heads/master | 2022-08-30T18:25:19.148300 | 2022-08-19T12:40:05 | 2022-08-19T12:40:05 | 101,089,466 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,878 | r | sizelimit_route.R | #' Limit the size of requests
#'
#' This route is meant for being called prior to retrieving of the request body.
#' It inspects the `Content-Length` header and determines if the request should
#' be allowed to proceed. The limit can be made variable by supplying a function
#' to the `limit` argument returning a numeri... |
84e2372ba7c6910e9014c502758b17c8fc78c03d | 2e5bcb3c8028ea4bd4735c4856fef7d6e46b5a89 | /man/AffineSnpPlm.Rd | 766909f40b602bf7b9dc8592f6613df9312de759 | [] | no_license | HenrikBengtsson/aroma.affymetrix | a185d1ef3fb2d9ee233845c0ae04736542bb277d | b6bf76f3bb49474428d0bf5b627f5a17101fd2ed | refs/heads/master | 2023-04-09T13:18:19.693935 | 2022-07-18T10:52:06 | 2022-07-18T10:52:06 | 20,847,056 | 9 | 4 | null | 2018-04-06T22:26:33 | 2014-06-15T03:10:59 | R | UTF-8 | R | false | false | 3,247 | rd | AffineSnpPlm.Rd | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% AffineSnpPlm.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{AffineSnpPlm}
\docTyp... |
e25a749fbd295ce9e1535558ae4581b7dc822794 | 3dceafc09ae75114e193d24a7af14abaf684e84f | /best.R | 21d36642ae39100f388685d4730d48aa5d308fea | [] | no_license | codeBehindMe/ProgAssig3 | 298aabdf1193f9d99743d304a7a0487f57b99756 | d4a6f91b98e08025d3c3aa154d6ca19070efed88 | refs/heads/master | 2021-01-15T11:18:35.120812 | 2015-05-20T06:17:16 | 2015-05-20T06:17:16 | 35,912,466 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,515 | r | best.R | #this function is used to find the best hospital in the state for a particular outcome
# this function takes 2 arguments, a 2letter abbriviated state and a outcome name.
best <- function(state,outcome){
# we first need to set the working directory
setwd("C:/Users/HAZARDAZ/Documents/Data Scien... |
45a9a3dc2c951cae5612f355353850161f1d6ada | 4b1ead961f8ff8cfe1860f19e1389ac6fcbcf85c | /man/is.paths.Rd | bd693c529e2965b504d69e3131e9ffd3c363a751 | [] | no_license | bsmity13/ADePTR | b301275e04ae2aa2f1372cdf73e6acd1d3b20a2b | a843c6bc7359dd5349c852ffc6cfbb9017be453b | refs/heads/master | 2020-04-19T06:25:25.175586 | 2019-11-08T17:44:56 | 2019-11-08T17:44:56 | 168,017,224 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 359 | rd | is.paths.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/s5_interpolate_animate.R
\name{is.paths}
\alias{is.paths}
\title{Check if object is of class \code{*_paths}.}
\usage{
is.paths(x)
}
\description{
Convenience function that checks is object is of class \code{*_paths}.
Currently must be either ... |
1aff57fe4142278828f8b5ee7c71ea626c972cff | 0dfb4f501eaaf6d78ea7c7b9efd2ef17337b4cc6 | /Plotting Stuff.R | 8c7df1701ded00fe9151491dc402d5a0ef584f80 | [
"BSD-2-Clause"
] | permissive | hiendn/SCOTS-MAMM | cc9ceb3e6e30c930c9b8b35155544dd30e7fa49d | 5f3d8516528a7568ab87ce3b5a422eff6542be38 | refs/heads/master | 2020-04-09T13:33:54.110781 | 2016-06-02T05:48:50 | 2016-06-02T05:48:50 | 60,233,700 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,463 | r | Plotting Stuff.R | ## Copyright Hien Duy Nguyen - University of Queensland 2016/06/02
COUNT <- 0
for (ii in 1:512) {
for (jj in 1:512) {
if (MASK[ii,jj]==1) {
COUNT <- COUNT + 1
while (min(YY[[COUNT]])< -5.5) {
YY[[COUNT]][which(YY[[COUNT]]< -5.5)] <- YY[[COUNT]][sample(which(YY[[COUNT]] >= -5.5),length(which(... |
39fc98efd94f58fad9603d7e49220e8ce01387ec | 51ea7fcb2ca10bdf710edf31a1f3be5d17619931 | /R/test.R | bd407a2a9717d50b8b80c44153b850ac50406cc4 | [] | no_license | jacobkap/crimedatatool_helper | 534e65182ae69c536938c8552448494b82b421ef | ca1ffade6c3f3c1173ed608ef40e4e4c3f729fba | refs/heads/master | 2023-04-08T08:19:53.891205 | 2023-04-04T21:44:49 | 2023-04-04T21:44:49 | 134,924,347 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,084 | r | test.R | data <- hate_crimes[hate_crimes$ORI %in% "AK0010100", ]
add_missing_months_for_years_available <- function(data) {
original_years <- unique(lubridate::year(data$year))
data$year <- as.character(data$year)
data <- dummy_rows_missing_years(data, type = "month") %>%
dplyr::mutate(data_year = ymd(year... |
c7be56a59739c47d7ccb356b81d8d548319684c6 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/urltools/examples/param_remove.Rd.R | 2e542a564102984c312b5051619605bdbe77f38f | [] | 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 | 320 | r | param_remove.Rd.R | library(urltools)
### Name: param_remove
### Title: Remove key-value pairs from query strings
### Aliases: param_remove
### ** Examples
# Remove multiple parameters from a URL
param_remove(urls = "https://en.wikipedia.org/wiki/api.php?action=list&type=query&format=json",
keys = c("action","format"))
|
5323f66368e83f77a8b3fc22501920e5a0059c40 | 518edc72134df5ede965e4fc2bfcaa37791456c9 | /file1.R | e8b66683d5ea53667c5882155982b283db22eb03 | [] | no_license | swati1596/analytics1 | ea991446df91a3be2ae33c34790cb96ed4bc1efb | 10065136b83154b77a10a453a85ffb052f8a9352 | refs/heads/master | 2020-03-26T16:20:20.053151 | 2018-08-17T11:03:15 | 2018-08-17T11:03:15 | 145,095,199 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 104 | r | file1.R | mtcars
git config --global user.email "dash.swati36@gmail.com"
git config --global user.name "swati1596" |
c7002eaa0c32548c4ae9997dbaa2d1289a65179a | 01974b6e1b34adc1f2ce9b0530d78dc3def3e553 | /tests/testthat/test-thisfile.R | 4f48ab80eb891709b148e24014a2048668b68afe | [] | no_license | krlmlr/kimisc | e518fcd318ae1a86fa23e2a4713847efbf85f011 | d85e30b10b5baf411f93ca70dd4210e26010211d | refs/heads/master | 2021-01-23T03:27:30.024493 | 2017-12-18T19:46:27 | 2017-12-18T19:46:27 | 7,799,871 | 16 | 1 | null | 2017-10-16T19:49:11 | 2013-01-24T14:48:17 | R | UTF-8 | R | false | false | 379 | r | test-thisfile.R | context("thisfile")
test_that("thisfile works with source", {
res <- source("scripts/thisfile.R")
expect_true(grepl("thisfile.R$", res$value))
})
test_that("thisfile works with Rscript", {
skip("Doesn't seem to work for R CMD check")
p <- pipe("Rscript scripts/thisfile-cat.R")
on.exit(close(p))
res <- rea... |
6afbf0b5d8483b80783bd45c5c17f7b39ff584e6 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/1842_37/rinput.R | 80f2e992e6fcceb9fb1e28c2134845b9b9ac3c9c | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 137 | r | rinput.R | library(ape)
testtree <- read.tree("1842_37.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="1842_37_unrooted.txt") |
22ec3b6f70823b931c46e8cec08c8a39f502feb2 | d576b8f5fa3845727f4bc80bb8ce465e9ccb25a7 | /man/IntelligenceData.Rd | 2d01b80f4e637f84c38790ad82fd345a0ca7b270 | [] | no_license | jorgetendeiro/PerFit | 6164c0abe12a4a1384ad7dec33b1dba8cc91686f | c741acec820cb05f694b5fa9f57bf16b83a26c51 | refs/heads/master | 2021-10-23T04:49:20.743552 | 2021-10-15T07:18:34 | 2021-10-15T07:18:34 | 235,191,533 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 705 | rd | IntelligenceData.Rd | \name{Intelligence data}
\alias{IntelligenceData}
\docType{data}
\title{Intelligence data (number completion)}
\description{
The data are dichotomous scores of a Dutch intelligence test on number completion (Dutch: "Cijferreeksen", Drenth and Hoolwerf, 1970). The file consists of archival data that were collected... |
f6bd06f244a625dc5f3ce15886fb9dc09279da49 | 007c469e385ed6aad68fb99822ec183d47c6ff1f | /man/custom_stopwords.Rd | 514c1f7eb0b83538c402d3d9ce83b990573dc1fa | [] | no_license | libiner/petro.One | 9f7eb7af91a97c68fe4a93fef67901e75c0fb010 | fc44acdb0ca01891064cfd6f855e80cd9347f88d | refs/heads/master | 2020-05-30T23:47:10.566906 | 2019-01-13T06:30:59 | 2019-01-13T06:30:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 630 | rd | custom_stopwords.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/petro.One-package.r
\docType{data}
\name{custom_stopwords}
\alias{custom_stopwords}
\title{Default custom stop words}
\format{An object of class \code{NULL} of length 0.}
\usage{
custom_stopwords
}
\description{
This is a minimal dataset of c... |
0a3e6c6530e7e9a32cb3b925eacc70c204a7228c | 2c643c04d34af216f18c951f6019af74cd70cdff | /cachematrix.R | c3ba6d6562489ce26a8b12a51d6cf257f72f122f | [] | no_license | gutidaniel/ProgrammingAssignment2 | fa0351f5b4307da1290961567b63074041967209 | de72a732aebdc1233855d2932f7627bd98408c98 | refs/heads/master | 2020-12-01T01:11:39.270474 | 2016-02-29T17:02:28 | 2016-02-29T17:02:28 | 52,615,130 | 0 | 0 | null | 2016-02-26T15:54:59 | 2016-02-26T15:54:58 | null | UTF-8 | R | false | false | 980 | r | cachematrix.R |
# The function "makeCacheMatrix" creates a list contaning the following elements:
# 1) Set the matrix
# 2) Get the matrix
# 3) Set the inverse of the matrix
# 4) Get the inverse of the matrix
makeCacheMatrix <- function(x = matrix()) {
B <- NULL
set <- function(y) {
x <<- y
B <<- NULL
}
get <- functio... |
bb7c62eb8aceae920dcd034163c1cd6494693940 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/NTS/examples/tvARFiSm.Rd.R | 9abfa5711d0af198eb8be9b68f60ad2de807b20d | [] | 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 | 306 | r | tvARFiSm.Rd.R | library(NTS)
### Name: tvARFiSm
### Title: Filtering and Smoothing for Time-Varying AR Models
### Aliases: tvARFiSm
### ** Examples
t=50
x=rnorm(t)
phi1=matrix(0.4,t,1)
for (i in 2:t){
phi1[i]=0.7*phi1[i-1]+rnorm(1,0,0.1)
x[i]=phi1[i]*x[i-1]+rnorm(1)
}
est=tvAR(x,1)
tvARFiSm(x,1,FALSE,est$par)
|
1ba2babda0f1522a53018de26edac4eac405a11f | c6365a23a0f38ff83110da166444fda0ec8a2112 | /poolOld.R | 1a73f65889668a752eb171b80eace0d769e4ff89 | [] | no_license | keurcien/pooled-samples | a92fcabf0a14ece71f11d9c537daa69252651317 | 80b228f3300a123904c4e00615c6b8675807ad58 | refs/heads/master | 2020-06-10T16:38:26.264231 | 2016-12-16T08:22:19 | 2016-12-16T08:22:19 | 75,933,837 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,073 | r | poolOld.R | library(pcadapt)
library(robust)
library(MASS)
pool.old <- function(input,K,min.maf=0.05){
nPOP <- nrow(input)
nSNP <- ncol(input)
if (missing(K)){
K <- nPOP-1
}
res <- corpca(input,K)
freq <- apply(input,2,FUN=function(x){mean(x,na.rm=TRUE)})
res$maf <- as.vector(pmin(freq,1-freq))
res$loadings[re... |
a87e0295f990dafe6be57eca99236b8a3dff9bcd | d10466f9976f0f5cc2d93e0f0cd21a0a9e13c7b6 | /EDA/demographics/00_crossswalk_geo.R | 27a2b84bee06d659630e51a27156cb81c94e9613 | [] | no_license | nmmarquez/hispanicACS | 4685987433a0aefa6c8240ca532c98395765f45c | cd6cc94fd1f0c711edc93986fbaee2f580b43ece | refs/heads/master | 2020-05-04T22:50:19.702698 | 2020-03-12T02:36:07 | 2020-03-12T02:36:07 | 179,524,372 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 854 | r | 00_crossswalk_geo.R | rm(list=ls())
library(tidyverse)
library(sf)
cPUMA <- read_sf("./data/ipums_puma_2010/ipums_puma_2010.dbf") %>%
filter(!(STATEFIP %in% c("72", "02", "15"))) %>%
st_set_precision(1e5)
migPUMA <- read_sf(
"./data/ipums_migpuma_pwpuma_2010/ipums_migpuma_pwpuma_2010.dbf") %>%
filter(!(MIGPLAC %in% c("072",... |
afcac39fce2ac43354367a560c256b33631a9484 | 2398deea4262568f03448241eb1858f033c506b2 | /cachematrix.R | 3b06d8f1a5cf8798acdff9109f23f6b9f2c3b7c6 | [] | no_license | btok/ProgrammingAssignment2 | cf13259da87dae9905009e6c1c47026d95334f6e | 8030dc84086227c9142dbf57d5eceb388212dacb | refs/heads/master | 2021-01-22T00:45:41.065944 | 2015-07-20T13:49:36 | 2015-07-20T13:49:36 | 39,378,426 | 0 | 0 | null | 2015-07-20T10:46:10 | 2015-07-20T10:46:10 | null | UTF-8 | R | false | false | 1,503 | r | cachematrix.R | ##creates a special "matrix", containing functions to:
##1. set the value of the matrix
##2. get the value of the matrix
##3. set the value of the inversed matrix
##4. get the value of the inversed matrix
makeCacheMatrix <- function(x = matrix()) {
inversedMatrix <- NULL
set <- function(newMatrix) {
... |
1a3fda5bf734b1006de3acf0e63a1d72ecb01596 | d96cdb76ebd6d7eab32994c61cc742ca8a7ea40d | /tests/test_all.R | b15a941125f6bae975822bed4bda1fe741c5c3a9 | [] | no_license | jakobbossek/Rargs | 429ca046c96e94b0a272aed48c81a2e9e151e992 | 6b2a6857f184c506af1406dbeaef8e412386b19f | refs/heads/master | 2020-03-30T16:42:05.911452 | 2015-04-15T14:43:49 | 2015-04-15T14:43:49 | 27,809,944 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 39 | r | test_all.R | library(testthat)
test_check("Rargs")
|
d88588bcc2b516e02706548b26e0ce2696f84dbf | 8074543de45fe6641641036ee40f5a3247ead8d6 | /man/hltest.Rd | d7269055b9890d294f391b876ae1789021a04f36 | [] | no_license | gnattino/largesamplehl | 7b0034b14e10787a2968f0ea52f9a225fcda6d36 | f2cc63d417e7758b7e297ec7fa21961a78949400 | refs/heads/master | 2021-06-12T10:03:10.925398 | 2021-03-14T10:47:25 | 2021-03-14T10:47:25 | 158,947,112 | 2 | 1 | null | null | null | null | UTF-8 | R | false | true | 6,431 | rd | hltest.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hltest_functions.R
\name{hltest}
\alias{hltest}
\alias{hltest.numeric}
\alias{hltest.glm}
\title{Modified Hosmer-Lemeshow Test for Large Samples}
\usage{
hltest(...)
\method{hltest}{numeric}(y, prob, G = 10, outsample = FALSE,
e... |
10e84ed75be281ad95b744c510ec7ba87252050d | 31d92549c391af529867cc3ead586b5583b6bb22 | /plot5.R | d26e5b5b569cc88939d5a20c15429231c793bb84 | [] | no_license | ZubeirSiddiqui/exploratory_data_analysis_project2 | 81202d4409e2dcb2261425d4c2a6c4725a59e3b6 | 30a4a7426ef43bd215e4cb0a970394410d225ae8 | refs/heads/master | 2021-01-23T04:58:59.999706 | 2017-03-26T20:40:18 | 2017-03-26T20:40:18 | 86,262,979 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 922 | r | plot5.R | ## set working directory
setwd("C:/Users/zubeir/Desktop/DataScience/assignment6")
## Add library ggplot2 to plot ggplot2 later
library(ggplot2)
## Read in data from summarySCC_PM25.rds file, if object NEI does not exist
if(!exists("NEI")){
NEI <- readRDS("summarySCC_PM25.rds")
}
## Perform subset of data where Bal... |
67a99ee0472545fb639ded1872969d3e37716e15 | dda334048e5b6a6a9bfde44c5c995bc059db86ab | /R/indata.transformation.R | 027af02c749e095a1ad0d59a753ed62a7e5283cf | [] | no_license | MariaNikoghosyan/oposSOM | 71e4e1245930767f006199f843e5b078d10cd090 | b66dc23593f8aa85ba4ab54d9f25b661a0ea3117 | refs/heads/master | 2020-07-01T01:58:39.209042 | 2019-11-08T18:16:05 | 2019-11-08T18:16:05 | 201,011,410 | 0 | 0 | null | 2019-08-07T08:52:31 | 2019-08-07T08:52:29 | null | UTF-8 | R | false | false | 15,959 | r | indata.transformation.R | # transform genotype matrix into a numeric matrix
pipeline.indata.transformation <- function()
{
# global minor allele encoding
if(preferences$indata.transformation == 'global.minor.major.alleles')
{
util.call(pipeline.BiomartAvailabilityForIndataTransformation, env)
if(preferences$indata.transformation ... |
d7464fd80d3e5b5bd81fea1ce5ebb35bf2bb07c7 | efc680d4e454d5c330aae260f84b2cfb877fc6b8 | /01_run_ERSST.R | ce9b3775b92e4705622cafa35d01a8b880f0d9d8 | [] | no_license | lizllanos/CPT_R | c86c6bfdc37e55f811df31ed2cdbcf81219ad2dc | ccdad0f5c6fe200dfaf5383bf7f182fd7e4b392c | refs/heads/master | 2021-09-25T01:35:09.402757 | 2018-10-16T16:27:05 | 2018-10-16T16:27:05 | 108,312,174 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,885 | r | 01_run_ERSST.R | run_cpt=function(x,y,i_fores,path_run,output){
GI=paste0(output,"_goodness_index.txt"); pear=paste0(output,"_pearson.txt"); afc=paste0(output,"_2afc.txt")
prob=paste0(output,"_prob.txt"); cc=paste0(output,"_modos_cc.txt"); x_load=paste0(output,"_x_load.txt"); x_serie=paste0(output,"_x_serie.txt"); y_load=paste0(... |
84ab97259530ebdc76129f4e44e4c5486a49e45a | a79570312203ffe1c78a0d5063571a59ca8729d7 | /code.R | cfdb51f0ef8a7ae25c9e04db0c13220adc2ce55e | [] | no_license | iffotiadis/Clustering-Customer-Segmentation- | d233a0113eee37423b17e295a7333fc895e650ae | c5bce7fcc556a6c3a76a407bf0b9c511265647f3 | refs/heads/master | 2020-03-17T11:30:25.694460 | 2018-05-15T18:06:42 | 2018-05-15T18:06:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,840 | r | code.R | I downloaded this wholesale customer dataset from UCI Machine Learning Repository. The data set refers to clients of a wholesale distributor. It includes the annual spending in monetary units on diverse product categories.
My goal today is to use various clustering techniques to segment customers. Clustering is an uns... |
bda137d173d686c113adcd4c01f94b774c3cd519 | 06493ebc67611baf4e2c2f536feffc1d583a1803 | /man/as_df.Rd | 8c6443f2491e50cad455aa347840cf4442a1d7d0 | [] | no_license | mdelrio1/Momocs | 96bd5fc0673bac53a8b259b95252198f009cd239 | 00da8cc6cdd09bb4f65385fa287453f08b9348ee | refs/heads/master | 2020-03-27T13:28:17.850600 | 2018-08-14T14:01:32 | 2018-08-14T14:01:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,043 | rd | as_df.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/babel-bridges.R
\name{as_df}
\alias{as_df}
\alias{as_df.Coo}
\alias{as_df.Coe}
\alias{as_df.TraCoe}
\alias{as_df.PCA}
\alias{as_df.LDA}
\title{Converts Momocs objects to data.frames}
\usage{
as_df(x)
\method{as_df}{Coo}(x)
\method{as_df}{Co... |
c6232e7255e0473620950877e02f0a52c53a57a3 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.database/man/memorydb_describe_parameters.Rd | cd7bd17b6ade230f30088003a40376f18e245dee | [
"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,242 | rd | memorydb_describe_parameters.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/memorydb_operations.R
\name{memorydb_describe_parameters}
\alias{memorydb_describe_parameters}
\title{Returns the detailed parameter list for a particular parameter group}
\usage{
memorydb_describe_parameters(
ParameterGroupName,
MaxResul... |
7db9586f473bd3d360976d52f3c1931e4cca2fab | 5b1e58ad4a366882be5a6c0380d3fe26e41f1c74 | /app.R | 5d569ec2ed02c999652b57072f572bb8350f6a60 | [] | no_license | vedangmehta/STAT597_week_10 | be6571a5d1a4d5a8eb8c6a7dbca52810a3b756e1 | f7b95b683655dd43b4131c68923c626140693086 | refs/heads/master | 2020-03-13T11:29:28.143366 | 2018-04-26T05:18:18 | 2018-04-26T05:18:18 | 131,102,486 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,020 | r | app.R | library(shiny)
library(tidyverse)
library(tidycensus)
ui <- fluidPage(sidebarLayout(
sidebarPanel(
# Input box to select the state
# Default value is NJ
selectInput(
inputId = "state",
label = "State",
choices = c(
'Alaska',
'Alabama',
'Arkansas',
'Arizon... |
63b42526747ea256dedb01434f0c97d71588656c | 7204e3bfeea08327b4bda576b082b9dd5e254046 | /buildpkg/.todolist.R | 6f34453149374a62512baaecd004ac90a5261436 | [] | no_license | EpidemiologyDVM/duke-rnet-quick | fd2717c3146b2b4a38af494820bd28b1033a3d80 | b979af770522aff93d736c0d0c4a9f0f7b17c0a7 | refs/heads/main | 2023-05-01T16:26:25.930895 | 2021-05-26T16:35:46 | 2021-05-26T16:35:46 | 371,102,574 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 343 | r | .todolist.R | #To Do list:
# * Add threshold default/option for L1Selection for threshold selection
# * Complete vignettes
# * Create new package for creating heatmaps from lists of igraph objects.
# * add vertex names to layout matrix (possibly add this to igraph clone and create pull request)
# * add edge.subset and network argume... |
df6434ad41afb63e43ad3add4c510f16c95e9dca | 29585dff702209dd446c0ab52ceea046c58e384e | /EbayesThresh/R/ebayesthresh.R | 60e4ef9c26eb0be3d0e819f56eb07ff0f9137c17 | [] | 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 | 2,085 | r | ebayesthresh.R | "ebayesthresh" <-
function(x, prior = "laplace", a = 0.5, bayesfac = FALSE, sdev = NA, verbose = FALSE,
threshrule = "median")
{
# Given a vector of data x, find the marginal maximum likelihood estimator
# of the mixing weight w, and apply an appropriate thresholding rule using
# this weight.
# If the prior is ... |
75ac6d60a61df05f61ed55f197a636fd87fca038 | c722e2f386fb7a59e62b1a3f8af961caf1c6404a | /R/sampler.R | 1baa194b295a26e5c8557060b648f81134e1464c | [] | no_license | jhmarcus/flashier | 62f21d4c58285fe859af579aead1bcc87930453a | 4e02017d0ecbb72e9c765958fa4cb4ce628af0d6 | refs/heads/master | 2020-05-21T02:04:50.219432 | 2019-02-22T22:30:50 | 2019-02-22T22:30:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,499 | r | sampler.R | F.sampler <- function(flash) {
# Beware of unfulfilled promise leak.
force(flash)
return(function(nsamp) {
# Get samples as list of dimensions with sublists of factors.
samp <- rapply(all.post.samplers(flash),
function(f) do.call(f, list(nsamp = nsamp)),
how = "list"... |
98c5f9c112ed2d81748bcc385ba440cd6c4b07fa | f89eab046bf6363a5c30e0e9a13b15c0c2255a71 | /RLM_2016_Indicator_Species_Analysis_2018.R | e111e6a7d4fe2dec73ed22d45bf262d7cb45f517 | [] | no_license | mallorymrice/Poc_2016 | c2e6e8c61afc1bcd25e1315e3dd80aec75b13504 | 8a911dbfe3b9cc7cdae15d5dd45e3c9b678bde05 | refs/heads/master | 2020-04-23T05:27:40.821250 | 2019-08-15T20:30:08 | 2019-08-15T20:30:08 | 170,940,827 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,313 | r | RLM_2016_Indicator_Species_Analysis_2018.R | #####################################################
## Indicator Species Analysis for POC_2016 ##
## November 20, 2018
## By Rebecca Maher
####################################################
rm(list=ls())
library("phyloseq")
library("data.table")
library("plyr")
library("dplyr")
library("ggplot2")
library("reshape... |
dce834b0a4546ac5ef015eb8aae4066fe4b96250 | 0c3ad13ceb982ddff3c51818ce8e5d8807de9313 | /R/day01/r5.R | 40adbd0375d8cfdc2ed1a2e6bc4a4318234ddd61 | [] | no_license | HanHyunwoo/TIL | befc9ecae77d227832179b49a37248780558697e | cd3c49270ca20f3cb9f841b929490d2e9193bafd | refs/heads/master | 2021-05-25T12:06:30.157595 | 2018-12-09T13:00:46 | 2018-12-09T13:00:46 | 127,377,631 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,598 | r | r5.R | c1 <- c(1:5);
print(cs)
c2 <- c(6:10);
print(cs)
cs <- union(c1,c2)
print(cs)
cs <- setequal(c1,c2)
print(cs)
5 %in% cs
5-cs
result <- c(1:3) %in% cs
print(length(result))
c3 <- seq(1,1000,5)
m1 <- matrix(c(1, 2, 3, 4, 5, 6, 7, 8, 9), nrow=3)
m2 <- matrix(c(1, 2, 3, 4, 5, 6, 7, 8, 9), ncol=3, byrow =TRUE)
colnam... |
e7668526938d32fdfad37679a0a39858f57f111a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/umx/examples/umx_rename.Rd.R | 2c24ba08b93004616352b97b7e0874207124863b | [] | 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 | 578 | r | umx_rename.Rd.R | library(umx)
### Name: umx_rename
### Title: umx_rename
### Aliases: umx_rename
### ** Examples
# Re-name "cyl" to "cylinder"
x = mtcars
x = umx_rename(x, replace = c(cyl = "cylinder"))
# alternate style
x = umx_rename(x, old = c("disp"), replace = c("displacement"))
umx_check_names("displacement", data = x, die = ... |
c723a944840cd2426237db5461442031ff257708 | 661bc0fec7cf236dae9a7c0d1c90661e33f8f996 | /extractDASSmetrics.R | 9e2f228f51a5de6311e18a59d11f3270a8cebcb4 | [] | no_license | kinleyid/LimeSurveysDataExtraction | 1048b541529d55916186d1c3af4efa59195bf306 | b0574312402cb5608ec605f97edff29322e59c5b | refs/heads/master | 2020-04-28T23:33:31.675912 | 2019-03-14T18:38:28 | 2019-03-14T18:38:28 | 175,659,168 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,400 | r | extractDASSmetrics.R |
extract.DASS.metrics <- function(full.path) {
# Extracts the following metrics:
# Depression score
# Anxiety score
# Stress score
data <- read.table(full.path,
header = T,
sep = ',',
quote = '"')
depression.questions <- c(3, 5, 10, 13, 16, 17, ... |
ef5a741842d0e1b9b73f82f0ea7158c238b73fa6 | a5de76ef9638938b93ac6046bdf5862e0435a19c | /home/www/app.R | 0d67175c9fb75ca1a9c41c247ca90efde211977a | [] | no_license | bolivarez9193/Gene-Web-App | 33f7168ae509be57cbfcf4357b07bc23b8c7a1e4 | 1ee3416357f91d518afb059d7827c062ac5630fc | refs/heads/master | 2021-01-17T09:51:29.818651 | 2016-05-14T03:21:50 | 2016-05-14T03:21:50 | 55,119,657 | 0 | 1 | null | 2016-04-13T05:17:13 | 2016-03-31T04:13:35 | R | UTF-8 | R | false | false | 68 | r | app.R | #setwd("C:/Users/bolivarez9193/Documents/GUI_Code")
#runApp('/main') |
89162f2c57d46c4e677b44e9dce5a7d48d58c196 | deb8293b706ba213c330d43ee2e547227c5365a2 | /BSCOV/man/BSCOV.Rd | f596b85e588c4a2af2b4ebac1dfbe868bf37e42c | [] | no_license | markov10000/BSCOV | c6c9acea1bb091e16435159c781548fa0c5d8ddb | 87cc5e2c914b0b3528274a9585a2aa1ac9dfae00 | refs/heads/master | 2023-08-23T17:54:23.949831 | 2021-10-23T22:14:09 | 2021-10-23T22:14:09 | 277,444,752 | 5 | 1 | null | null | null | null | UTF-8 | R | false | true | 3,748 | rd | BSCOV.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/BSCOV.R
\name{BSCOV}
\alias{BSCOV}
\title{Using Wild Sparsified Binary Segmentation to find chang points in the second order structure in both factors and idiosyncratic errors.}
\usage{
BSCOV(
x,
normalisation = FALSE,
r = NULL,
bn.op... |
8e49fd84c0a0cdc3ba51fece7422f44d98517ce9 | 65c14e4ae3f3f2a31979b6b1b4925e09a3d4a9c3 | /code/explore.R | fd978edd59b7fc798e369fa56b4ee08d8e883692 | [] | no_license | michaellevy/obesity-networks | 157c97b03248e72a3ff1e1dd152e740b65181eac | 88bf228cd31559ac0569c8b6d9829da1f9dd0ca4 | refs/heads/master | 2021-01-09T06:50:10.875760 | 2016-12-29T22:08:33 | 2016-12-29T22:08:33 | 67,002,138 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 39,400 | r | explore.R | library(dplyr)
library(statnet)
library(ggplot2)
library(stargazer)
el = read.csv("data/Edgelist_8.8.csv")
att = read.csv("data/NodeAttributes2012_8.8.csv")
set.seed(510)
# statnet's edgelist import functions are awful. Let's use igraph's instead,
# and immediately convert to statnet with the intergraph package.
# W... |
fc7e67f241e1d428a0711e3c0cfc789001ce8b0a | 105714934f50b0daec0496fdc335cd9021fcc319 | /script-notes.R | f57988dd04453b0987da98e7c727192f0f027a60 | [
"MIT"
] | permissive | danmarrod/rstudio | 08f8d8a7d92bcf7894bd9c3cb39f2643ca87b0db | 777ce9872c0afecd091c594e38f5b05044955ecf | refs/heads/main | 2023-08-24T13:11:20.375649 | 2021-09-16T12:42:23 | 2021-09-16T12:42:23 | 404,712,473 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,260 | r | script-notes.R |
# ------------------------------------------------------------------
# CARGAMOS LOS DATOS
# ------------------------------------------------------------------
# Preparamos el espacio de trabajo y reseteamos objetos cargados
getwd()
setwd("E:/FID/rstudio/")
getwd()
ls()
rm(list = ls())
ls()
# Cargamos dataset
marks ... |
d2383c1749e8c44b30e69f41b1b46adf2497ac44 | 03e42f65dc15b43f9b31846aaf8a4a8c2324fee9 | /get_gamma_hyperparameters.R | c9a5e511cb62cb1181e9cb8ea6fcf43c7ce80ad1 | [] | no_license | Klemens46/Technology-Assessment-Model--GUI-console-adaptable | d4f05277577f0c1b39f55dfd9ef6ffe3245f013d | 1587b1f7dd37eca77ce564ebd97f49ab7a3bbd4c | refs/heads/master | 2021-10-11T23:37:02.975219 | 2019-01-30T17:17:48 | 2019-01-30T17:17:48 | 168,208,955 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,752 | r | get_gamma_hyperparameters.R |
# Name of script: get_gamma_hyperparameters.R
# Purpose: A script that creates two functions to quickly calculate
# the Gamma distribution hyper-parameters shape and rate (2nd and 3rd
# arguments of the Gamma functions as used in the R software)
# from a mean and a standard deviation (SD) or a mean and a ... |
847e653ccdc18a34ec5f1cb211a0bbc1e1ba47eb | d94c3c03a9efc6b256b5a589b837acb6b6cd5a42 | /xkcd.R | 8bf2776bd6f4b2291bd614a9670591d6a172fd64 | [] | no_license | BarryHaworth/Webrip | f127b2a081279063673dbd29734ce13ea268ac5a | d09bd21dde3280e6ef9d792a9572da211fdeaaec | refs/heads/master | 2023-08-31T17:57:04.532050 | 2023-08-21T21:23:10 | 2023-08-21T21:23:10 | 201,607,135 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,699 | r | xkcd.R | # Download the images from XKCD
# Page links of form https://xkcd.com/2628/
# Updated to check what has been downloaded already and download to the latest file
library(rvest)
library(dplyr)
library(stringr)
library(xml2)
options(timeout= 4000000)
print("Program started")
timestamp()
PROJECT_DIR <- "c:/R/Webrip"
FI... |
b92b5e2bb3f67009449617fbba70d287a6292ab4 | b5d8e170fb18ea9c6f0d4f71421bb3a8a479ec7f | /LANDSAT/getSpatialData_LANDSAT.R | c427bef6f0889ad663284a7880feabea090ffba7 | [] | no_license | brownag/sANDREWbox | 8afa6707e7796f146cda62fb291ef23908ca287b | 27e25464921bfdcd2c45f3df4ebbb74056f1da98 | refs/heads/master | 2023-06-21T22:55:01.482301 | 2023-06-09T22:38:34 | 2023-06-09T22:38:34 | 95,600,286 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 755 | r | getSpatialData_LANDSAT.R | ## Load packages
library(getSpatialData)
library(sf)
aoi <- rgdal::readOGR("E:/CA649/CA649_b.shp")
set_aoi(aoi)
time_range <- c("2018-06-01", "2018-12-31")
login_USGS("br0wn.andrewg", password = "thisisaverylongpassword1")
set_archive("E:/CA649/LANDSAT")
product_names <- getLandsat_names()
## query for records for... |
e6c7975ecfc8c8f87eb4eab371bba8d0c05643f8 | 60005a00a8636e8597d66b8a7658d1f409df5606 | /workshops/regression/demo-plots.R | d36bf49131cfd0b2d875dc10a35a74b80f8e8cc4 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | ajstamm/titanic | 9198c7123208d1d9d6ef4c770c716539158b7caf | 3e817ad19b4e2bdd0d97343d414376e527bd331e | refs/heads/gh-pages | 2022-07-20T16:11:04.371587 | 2022-07-14T19:19:51 | 2022-07-14T19:19:51 | 159,426,128 | 1 | 1 | NOASSERTION | 2022-06-01T12:25:47 | 2018-11-28T01:42:34 | HTML | UTF-8 | R | false | false | 4,243 | r | demo-plots.R | ## #############################################################################
## Demo Plots
##
## - Plots to demonstrate Base R's graphics abilities.
## http://choens.github.io/titanic/workshops/regression/import-passengers.R
## - All examples use the passengers data set.
##
## ####################################... |
a1093a904ab3abfead8fe13c335adb123f20a48d | 465038dc0030ea330afd3e8ff599a511dd0bd336 | /msk_stuff/vcf_compare.R | 793231d7a61c9d20c57434b10d742372963ab739 | [] | no_license | vyellapa/misc | 693f3631e6ba9a102d2cb819754b686262c6c713 | d0bf18071c10f1e7c99f386a55f474c3b155c5bd | refs/heads/master | 2021-06-29T21:43:14.946440 | 2021-06-18T01:07:00 | 2021-06-18T01:07:00 | 239,605,752 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,632 | r | vcf_compare.R | library(ggplot2)
library("stringr")
args=commandArgs(TRUE)
cn2vcf=args[1]
cn5vcf=args[2]
bam5=args[3]
bam2=bam5
#cn2vcf="~/Desktop/SOHN_163/one_offs/SNP/E-H-109099-T2-1-D1-1_vs_E-H-109099-N1-1-D1-1.caveman.muts.annot.vcf.gz"
#cn5vcf="~/Desktop/SOHN_163/one_offs/SNP/E-H-109099-T1-1-D1-1_vs_E-H-109099-N1-1-D1-1.cavema... |
056ceda135fc64416f8d3ee65cc2369f21a500d0 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/exquery_query49_1344n/exquery_query49_1344n.R | 7ff850991cd346e88d4e78add34c8a45f48ac9d5 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 71 | r | exquery_query49_1344n.R | f7a4dfe290260b48e87c3378e2557772 exquery_query49_1344n.qdimacs 510 1245 |
f2a970d19d802a4f3ae37e1bf88f7addc9510441 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/gmp/examples/operators_bigq.Rd.R | 46842023fffe4e4b34318f907dbda1d54063291d | [] | 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 | 331 | r | operators_bigq.Rd.R | library(gmp)
### Name: Bigq operators
### Title: Basic arithmetic operators for large rationals
### Aliases: add.bigq +.bigq sub.bigq -.bigq mul.bigq *.bigq div.bigq
### /.bigq pow.bigq ^.bigq abs.bigq
### Keywords: arith
### ** Examples
## 1/3 + 1 = 4/3 :
as.bigq(1,3) + 1
r <- as.bigq(12, 47)
stopifnot(r ^ 3 ==... |
bfe9409a3c547561fadbd3b0f4e3ffaffaf2e5da | f28140b6953997b812afc1fda2da566d456ca517 | /plot1.R | b967631c8aabbd22a2737626fa6c3b5b8c7cb138 | [] | no_license | paadanfel/ExData_Plotting1 | 2e547890bf358b4b1ef184c197de8d7a088a2583 | a357a9b4cad14b2ec519e3d1bb9bdce7c2d9f7c0 | refs/heads/master | 2020-08-29T04:48:47.113506 | 2019-10-28T00:11:04 | 2019-10-28T00:11:04 | 217,933,046 | 0 | 0 | null | 2019-10-27T23:57:04 | 2019-10-27T23:57:03 | null | UTF-8 | R | false | false | 214 | r | plot1.R | # Plot 1
get_data() #get data
png(filename = "plot1.png",height = 480, width = 480)
hist(data$Global_active_power, col = "red", main = "Global Active Power", xlab = "Global Active Power (kilowatts)")
dev.off()
|
4337638f995a5c55717cdd5a0dd376841e0eb3b7 | 2e11399edb62739978e18210edeebb277e712fba | /data/table.R | 7a9f7e0d6e3b49d18ecbca350967b262e91561b5 | [] | no_license | lter/lterwg-emergent | 02b819204d60b69eb869fc4aa752fde6e961bb26 | 8bf0d8d940aab9948da47036fbaa889d053cb550 | refs/heads/master | 2023-04-28T11:22:38.398091 | 2023-04-19T18:32:06 | 2023-04-19T18:32:06 | 236,833,596 | 4 | 1 | null | 2020-10-29T19:56:32 | 2020-01-28T20:24:31 | HTML | UTF-8 | R | false | false | 3,052 | r | table.R | #This is the Shiny app for the Neon data showcasing the tables of the data
#Author: Dvir Blander and Katrina Newcomer
#First loading in the shiny, dplyr, readr libraries.
#The shiny library is used because this is a shiny app.
#The dplyr and readr libraries are used to help read in the data.
#The DT library is used fo... |
b0d3d2307c74cf8e74e44c1c681cd87160af64ec | fd7434084d6e02b60b765fe6473d0b9bcefe735a | /actions/install-deps/test_install-deps.R | b436070d12533d296083dbf8f30ccedf69342dd4 | [
"MIT"
] | permissive | kiwiroy/ghactions | adb9104287b6c6fe487cda46c9db97496d5d36f8 | 2ef1c090f8d49037e2b1d14bf2f122a6ce720b02 | refs/heads/master | 2020-07-31T21:19:27.299917 | 2019-09-24T20:37:40 | 2019-09-24T20:42:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 539 | r | test_install-deps.R | context("install-deps")
# TODO duplication write this out to function
if (file.exists("/.dockerenv")) {
cmd_path <- "/entrypoint.R"
} else {
cmd_path <- paste0(getwd(), "/", "entrypoint.R")
}
test_that(desc = "package from good DESCRIPTION is installed", code = {
setwd("good")
system2(command = cmd_path, stdout... |
cc5e6a899ea8b401701350a74f560a2b94f9d953 | 8f984222e808c6f15301bf415f7902850185cf83 | /ui.R | cdb8e37c00192658d66cf192c6306b335654ea6c | [] | no_license | alimojiz1/ddp_assignment | 71ee15e8d3f3abda5f873d1215e70141884b9dfd | a95681beb89557d2f8ca15bf44002483a269ab58 | refs/heads/master | 2021-01-20T08:14:03.669895 | 2017-05-03T06:36:04 | 2017-05-03T06:36:04 | 90,116,281 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,055 | r | ui.R | library(shiny)
data_years <- c("2012", "2013","2014", "2015")
data_graf <- c("By Year", "Top 10 States", "Comparison By 4 States")
fluidPage(
pageWithSidebar(
headerPanel("Dengue Cases in Malaysia from year 2012 -2015"),
sidebarPanel(
helpText("Please choose the year to see the sample of dengue data ... |
33243f540b6001ce42b053c7030d7d85df1dfb8c | 403f786c7c85fa551326d1e077bc895fea26e7c9 | /man/configure_environment.Rd | 029bba8924536ca24153dd7b7cd54665e5dfb523 | [
"Apache-2.0"
] | permissive | rstudio/reticulate | 81528f898d3a8938433d2d6723cedc22bab06ecb | 083552cefe51fe61441679870349b6c757d6ab48 | refs/heads/main | 2023-08-22T01:41:52.850907 | 2023-08-21T16:19:42 | 2023-08-21T16:19:42 | 81,120,794 | 1,672 | 399 | Apache-2.0 | 2023-09-13T20:35:47 | 2017-02-06T18:59:46 | R | UTF-8 | R | false | true | 1,999 | rd | configure_environment.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/python-packages.R
\name{configure_environment}
\alias{configure_environment}
\title{Configure a Python Environment}
\usage{
configure_environment(package = NULL, force = FALSE)
}
\arguments{
\item{package}{The name of a package to configure. ... |
ed7eda917623ba784042d5d18ac77db8f8773be1 | 17200de75fee60dfda419b6b467973dab08c9d85 | /R/r04.R | ff0b40458908a0c87632f6317cc5e41e53e62f12 | [] | no_license | saltandlight/TIL | de3568f3b4d1d892983b6025bcd453a4dc3b7f04 | ae75f506efd231eb88e5a115410c8a760c0a15ca | refs/heads/master | 2022-12-27T15:07:22.485769 | 2020-07-27T08:22:50 | 2020-07-27T08:22:50 | 187,792,504 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 835 | r | r04.R | student <- read.csv("student2.csv",
header=TRUE,
encoding = "EUC-KR")
str(student)
student
View(student)
class(student[1,c(3:6)])
avg <- c(mean(as.numeric(student[1,c(3:6)])),
mean(as.numeric(student[2,c(3:6)])),
mean(as.numeric(student[3,c(3:6)])),
me... |
df6048f837905f50c204bd0766464a223e4200ee | d2eda24acceb35dc11263d2fa47421c812c8f9f6 | /man/coastline3.Rd | 59fdf68ec51575c7de34b6bc75daae20c42c2a45 | [] | no_license | tbrycekelly/TheSource | 3ddfb6d5df7eef119a6333a6a02dcddad6fb51f0 | 461d97f6a259b18a29b62d9f7bce99eed5c175b5 | refs/heads/master | 2023-08-24T05:05:11.773442 | 2023-08-12T20:23:51 | 2023-08-12T20:23:51 | 209,631,718 | 5 | 1 | null | null | null | null | UTF-8 | R | false | true | 526 | rd | coastline3.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.r
\docType{data}
\name{coastline3}
\alias{coastline3}
\title{World Coastline Data (L3)
This is a coarse resolution coastline, compiled from the global hierarchical coastline data product.}
\format{
An object of class \code{list} of lengt... |
e38adc4aab56e738f5382eb81c09bab4a3ba8e03 | 44091b4bc11842b1ed02cd8b765fddfe9c8c6202 | /temp_files/generate spatial data for server.R | 2ea460fe78915d972555b4aeab65a60a89651c8e | [] | no_license | anarosner/testing | aa2bb896a807308acccce943e90e7a66020d3ec7 | d110884d052f12b5ccf48ca3d0ce6a2e8776be51 | refs/heads/master | 2021-01-25T05:21:36.250905 | 2020-02-15T14:21:15 | 2020-02-15T14:21:15 | 7,007,489 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,867 | r | generate spatial data for server.R | #!/usr/bin/env Rscript
library(sp)
library(rgdal)
library(rgeos)
library(maptools)
# Load NHDplus Data
##
##
#####
####
###
##
#
# Base directory (change depending on file structure wherever this is being run)
basedir<-"C:/ALR/SpatialData"
# basedir<-"/home/ana/testing"
# basedir<-"C:/Documents/__USGS"
####... |
4cbe8d319c066f182015f7fe17281ae5e546be16 | 80cfa0fd4f5b3d95e8799ef2b4c9271d00c58432 | /validate/scf_income_plot.R | de4d07cf8a7706e87858cb9879b0fcd6ad6617d8 | [] | no_license | davidsovich/auto_abs | aaf4054ad0bab7f6b0e368294246933def35cae8 | 21614a07bec4cde645de63332a296bc0054ec1b5 | refs/heads/master | 2023-02-20T21:36:20.903361 | 2021-01-20T16:28:30 | 2021-01-20T16:28:30 | 331,362,887 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,977 | r | scf_income_plot.R | # ---- Description --------------------------------------------------------------------------------
# This program plots the income distribution in the Reg AB II and the SCF.
# ---- Preliminaries ------------------------------------------------------------------------------
# Load libraries
library(tidyverse)
libr... |
ab8116ea1286f69bc876f38893bf1d42d733bfb9 | 53bceac9eb1fe79a59e7f555fa611d98257bc3dd | /R/closedp.mX.R | a855ce33623d61d0aa9e67ef17db46af75e0097a | [] | no_license | cran/Rcapture | 6d8b78bf364e183283593eeae3b16a35ed924cdb | b536c826402072e23db2772e61e4e48d64bddb4d | refs/heads/master | 2022-06-06T19:11:38.710140 | 2022-05-04T12:20:06 | 2022-05-04T12:20:06 | 17,693,081 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,490 | r | closedp.mX.R | "closedp.mX" <- function(X,dfreq=FALSE,mX,mname="Customized model")
{
X<-as.matrix(X)
t <- ifelse(dfreq,dim(X)[2]-1,dim(X)[2])
#####################################################################################################################################
# Validation des arguments... |
9491854bf2001ff560c43d01aa3e22453f2c5abb | 6ec650d8565f4b68a3a2c23bd9c39bbad4e1006a | /R/proust_datasets.R | 90d483c615d2fc39defb3dc31fe397c42bf1595f | [] | no_license | ColinFay/proustr | 9de427aa8f69eb527b6e8d2f12b046473bc9308b | ff1cd4bad45701e97ae85f894dbcab1bff9f15de | refs/heads/master | 2021-01-24T08:32:11.157401 | 2019-02-05T13:17:02 | 2019-02-05T13:17:02 | 93,385,515 | 26 | 4 | null | null | null | null | UTF-8 | R | false | false | 542 | r | proust_datasets.R | #' Characters from "À la recherche du temps perdu"
#'
#' A dataset containing Marcel Proust's characters from "À la recherche du temps perdu" and
#' their frequency in each book.
#' This dataset has been downloaded from proust-personnages.
#'
#' @source \url{http://proust-personnages.fr/?page_id=10254}
#'
#' @forma... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.